@bloque/sdk 0.0.11 → 0.0.12

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.
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ Accounts: ()=>Accounts
28
+ });
29
+ const sdk_accounts_namespaceObject = require("@bloque/sdk-accounts");
30
+ const sdk_core_namespaceObject = require("@bloque/sdk-core");
31
+ let config = null;
32
+ function getConfig() {
33
+ if (!config) throw new Error('@bloque/sdk: SDK not initialized. Call init({ apiKey }) first.');
34
+ return config;
35
+ }
36
+ const httpClient = new sdk_core_namespaceObject.HttpClient(getConfig());
37
+ const Accounts = new sdk_accounts_namespaceObject.AccountsClient(httpClient);
38
+ exports.Accounts = __webpack_exports__.Accounts;
39
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
40
+ "Accounts"
41
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
42
+ Object.defineProperty(exports, '__esModule', {
43
+ value: true
44
+ });
@@ -0,0 +1,10 @@
1
+ import { AccountsClient } from "@bloque/sdk-accounts";
2
+ import { HttpClient } from "@bloque/sdk-core";
3
+ let config = null;
4
+ function getConfig() {
5
+ if (!config) throw new Error('@bloque/sdk: SDK not initialized. Call init({ apiKey }) first.');
6
+ return config;
7
+ }
8
+ const httpClient = new HttpClient(getConfig());
9
+ const Accounts = new AccountsClient(httpClient);
10
+ export { Accounts };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ Compliance: ()=>Compliance
28
+ });
29
+ const sdk_compliance_namespaceObject = require("@bloque/sdk-compliance");
30
+ const sdk_core_namespaceObject = require("@bloque/sdk-core");
31
+ let config = null;
32
+ function getConfig() {
33
+ if (!config) throw new Error('@bloque/sdk: SDK not initialized. Call init({ apiKey }) first.');
34
+ return config;
35
+ }
36
+ const httpClient = new sdk_core_namespaceObject.HttpClient(getConfig());
37
+ const Compliance = new sdk_compliance_namespaceObject.ComplianceClient(httpClient);
38
+ exports.Compliance = __webpack_exports__.Compliance;
39
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
40
+ "Compliance"
41
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
42
+ Object.defineProperty(exports, '__esModule', {
43
+ value: true
44
+ });
@@ -0,0 +1,10 @@
1
+ import { ComplianceClient } from "@bloque/sdk-compliance";
2
+ import { HttpClient } from "@bloque/sdk-core";
3
+ let config = null;
4
+ function getConfig() {
5
+ if (!config) throw new Error('@bloque/sdk: SDK not initialized. Call init({ apiKey }) first.');
6
+ return config;
7
+ }
8
+ const httpClient = new HttpClient(getConfig());
9
+ const Compliance = new ComplianceClient(httpClient);
10
+ export { Compliance };
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ Identity: ()=>Identity
28
+ });
29
+ const sdk_core_namespaceObject = require("@bloque/sdk-core");
30
+ const sdk_identity_namespaceObject = require("@bloque/sdk-identity");
31
+ let config = null;
32
+ function getConfig() {
33
+ if (!config) throw new Error('@bloque/sdk: SDK not initialized. Call init({ apiKey }) first.');
34
+ return config;
35
+ }
36
+ const httpClient = new sdk_core_namespaceObject.HttpClient(getConfig());
37
+ const Identity = new sdk_identity_namespaceObject.IdentityClient(httpClient);
38
+ exports.Identity = __webpack_exports__.Identity;
39
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
40
+ "Identity"
41
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
42
+ Object.defineProperty(exports, '__esModule', {
43
+ value: true
44
+ });
@@ -0,0 +1,10 @@
1
+ import { HttpClient } from "@bloque/sdk-core";
2
+ import { IdentityClient } from "@bloque/sdk-identity";
3
+ let config = null;
4
+ function getConfig() {
5
+ if (!config) throw new Error('@bloque/sdk: SDK not initialized. Call init({ apiKey }) first.');
6
+ return config;
7
+ }
8
+ const httpClient = new HttpClient(getConfig());
9
+ const Identity = new IdentityClient(httpClient);
10
+ export { Identity };
package/dist/init.cjs ADDED
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ init: ()=>init
28
+ });
29
+ function setConfig(next) {}
30
+ function init(config) {
31
+ setConfig(config);
32
+ }
33
+ exports.init = __webpack_exports__.init;
34
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
35
+ "init"
36
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
37
+ Object.defineProperty(exports, '__esModule', {
38
+ value: true
39
+ });
package/dist/init.js ADDED
@@ -0,0 +1,5 @@
1
+ function setConfig(next) {}
2
+ function init(config) {
3
+ setConfig(config);
4
+ }
5
+ export { init };
package/dist/orgs.cjs ADDED
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ Orgs: ()=>Orgs
28
+ });
29
+ const sdk_core_namespaceObject = require("@bloque/sdk-core");
30
+ const sdk_orgs_namespaceObject = require("@bloque/sdk-orgs");
31
+ let config = null;
32
+ function getConfig() {
33
+ if (!config) throw new Error('@bloque/sdk: SDK not initialized. Call init({ apiKey }) first.');
34
+ return config;
35
+ }
36
+ const httpClient = new sdk_core_namespaceObject.HttpClient(getConfig());
37
+ const Orgs = new sdk_orgs_namespaceObject.OrgsClient(httpClient);
38
+ exports.Orgs = __webpack_exports__.Orgs;
39
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
40
+ "Orgs"
41
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
42
+ Object.defineProperty(exports, '__esModule', {
43
+ value: true
44
+ });
package/dist/orgs.js ADDED
@@ -0,0 +1,10 @@
1
+ import { HttpClient } from "@bloque/sdk-core";
2
+ import { OrgsClient } from "@bloque/sdk-orgs";
3
+ let config = null;
4
+ function getConfig() {
5
+ if (!config) throw new Error('@bloque/sdk: SDK not initialized. Call init({ apiKey }) first.');
6
+ return config;
7
+ }
8
+ const httpClient = new HttpClient(getConfig());
9
+ const Orgs = new OrgsClient(httpClient);
10
+ export { Orgs };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloque/sdk",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "Official Bloque SDK",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -69,11 +69,11 @@
69
69
  "typecheck": "tsgo --noEmit"
70
70
  },
71
71
  "dependencies": {
72
- "@bloque/sdk-accounts": "0.0.11",
73
- "@bloque/sdk-compliance": "0.0.11",
74
- "@bloque/sdk-core": "0.0.11",
75
- "@bloque/sdk-identity": "0.0.11",
76
- "@bloque/sdk-orgs": "0.0.11"
72
+ "@bloque/sdk-accounts": "0.0.2",
73
+ "@bloque/sdk-compliance": "0.0.2",
74
+ "@bloque/sdk-core": "0.0.2",
75
+ "@bloque/sdk-identity": "0.0.2",
76
+ "@bloque/sdk-orgs": "0.0.2"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@rslib/core": "^0.18.4",