@quantcdn/quant-client 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/api.ts +6613 -5390
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +2564 -1830
- package/dist/api.js +4246 -3978
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +2564 -1830
- package/dist/esm/api.js +4256 -3955
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +3 -3
- package/tsconfig.json +3 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ import { EnvironmentsApi, Configuration } from 'quant-ts-client';
|
|
|
16
16
|
// Create a configuration with your API key
|
|
17
17
|
const config = new Configuration({
|
|
18
18
|
apiKey: 'YOUR_API_KEY',
|
|
19
|
-
basePath: 'https://
|
|
19
|
+
basePath: 'https://dashboard.quantcdn.io'
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
// Initialize an API instance
|
|
@@ -113,8 +113,7 @@ envsApi.setDefaultAuthentication(auth);
|
|
|
113
113
|
|
|
114
114
|
// Create an environment
|
|
115
115
|
const env = await envsApi.createEnvironment('org-id', 'app-id', {
|
|
116
|
-
name: 'production'
|
|
117
|
-
region: 'us-east-1'
|
|
116
|
+
name: 'production'
|
|
118
117
|
});
|
|
119
118
|
|
|
120
119
|
// Get environment logs
|