All files version.js

100% Statements 16/16
100% Branches 1/1
100% Functions 0/0
100% Lines 16/16

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 177x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x  
// Copyright 2026 优谷雅言 open.shengzhiai.com. Licensed under the Apache License, Version 2.0.
 
/** SDK version. A unit test keeps it equal to package.json. */
export const SDK_VERSION = '2.0.0';
 
/** SDK name used in the User-Agent or X-Yugu-SDK header. */
export const SDK_NAME = 'yugu-web-sdk';
 
/** Default value of the userAgent option. */
export const DEFAULT_USER_AGENT = `${SDK_NAME}/${SDK_VERSION}`;
 
/** Default REST base. */
export const DEFAULT_BASE_URL = 'https://open.shengzhiai.com';
 
/** Default WebSocket base. */
export const DEFAULT_WS_BASE_URL = 'wss://open.shengzhiai.com';