@uluops/ops-sdk 0.1.0 → 0.1.1
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.
|
@@ -19,9 +19,14 @@ export declare const ENV_VARS: {
|
|
|
19
19
|
readonly BASE_URL: "ULUOPS_BASE_URL";
|
|
20
20
|
readonly DEBUG: "ULUOPS_DEBUG";
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
|
+
* SDK version — hardcoded instead of reading package.json via createRequire
|
|
24
|
+
* (node:module) so this module can be imported in browser environments.
|
|
25
|
+
* Keep in sync with package.json "version" field.
|
|
26
|
+
*/
|
|
27
|
+
export declare const SDK_VERSION = "0.1.1";
|
|
23
28
|
/**
|
|
24
29
|
* User agent string for requests
|
|
25
30
|
*/
|
|
26
|
-
export declare const USER_AGENT
|
|
31
|
+
export declare const USER_AGENT = "@uluops/ops-sdk/0.1.1";
|
|
27
32
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,EACV,UAAU,EACV,cAAc,EACd,YAAY,EACZ,WAAW,EACX,WAAW,EACX,sBAAsB,GACvB,MAAM,yBAAyB,CAAC;AAIjC;;GAEG;AACH,eAAO,MAAM,gBAAgB,iCAAiC,CAAC;AAE/D;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;;;CAMX,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,EACV,UAAU,EACV,cAAc,EACd,YAAY,EACZ,WAAW,EACX,WAAW,EACX,sBAAsB,GACvB,MAAM,yBAAyB,CAAC;AAIjC;;GAEG;AACH,eAAO,MAAM,gBAAgB,iCAAiC,CAAC;AAE/D;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;;;CAMX,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,WAAW,UAAU,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,UAAU,0BAAmC,CAAC"}
|
package/dist/config/constants.js
CHANGED
|
@@ -22,12 +22,11 @@ export const ENV_VARS = {
|
|
|
22
22
|
DEBUG: 'ULUOPS_DEBUG',
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
|
-
* SDK version
|
|
25
|
+
* SDK version — hardcoded instead of reading package.json via createRequire
|
|
26
|
+
* (node:module) so this module can be imported in browser environments.
|
|
27
|
+
* Keep in sync with package.json "version" field.
|
|
26
28
|
*/
|
|
27
|
-
|
|
28
|
-
const require = createRequire(import.meta.url);
|
|
29
|
-
const pkg = require('../../package.json');
|
|
30
|
-
export const SDK_VERSION = pkg.version;
|
|
29
|
+
export const SDK_VERSION = '0.1.1';
|
|
31
30
|
/**
|
|
32
31
|
* User agent string for requests
|
|
33
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,2CAA2C;AAC3C,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,EACV,UAAU,EACV,cAAc,EACd,YAAY,EACZ,WAAW,EACX,WAAW,EACX,sBAAsB,GACvB,MAAM,yBAAyB,CAAC;AAEjC,mCAAmC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,8BAA8B,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,OAAO,EAAE,gBAAgB;IACzB,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,iBAAiB;IAC3B,QAAQ,EAAE,iBAAiB;IAC3B,KAAK,EAAE,cAAc;CACb,CAAC;AAEX
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,2CAA2C;AAC3C,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,EACV,UAAU,EACV,cAAc,EACd,YAAY,EACZ,WAAW,EACX,WAAW,EACX,sBAAsB,GACvB,MAAM,yBAAyB,CAAC;AAEjC,mCAAmC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,8BAA8B,CAAC;AAE/D;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,OAAO,EAAE,gBAAgB;IACzB,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,iBAAiB;IAC3B,QAAQ,EAAE,iBAAiB;IAC3B,KAAK,EAAE,cAAc;CACb,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,mBAAmB,WAAW,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uluops/ops-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "SDK for the UluOps validation tracker API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"url": "git+https://github.com/Uluops/-uluops-ops-sdk.git"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@uluops/sdk-core": "^0.1.
|
|
84
|
+
"@uluops/sdk-core": "^0.1.1",
|
|
85
85
|
"zod": "^3.24.1"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|