@xyo-network/api-models 2.106.0 → 2.107.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.
@@ -1,24 +1,14 @@
1
1
  import { ApiReportable } from './Reportable';
2
2
  interface ApiConfig extends ApiReportable {
3
- /** @description The domain where the api is located */
4
3
  apiDomain: string;
5
- /** @description The apiKey used for authentication */
6
4
  apiKey?: string;
7
- /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
8
5
  compressionThreshold?: number;
9
- /** @description The jwtToken of the currently logged in user */
10
6
  jwtToken?: string;
11
- /** @description The query string, if any, that is added to the end of every request */
12
7
  query?: string;
13
- /** @description Parent that should also report events from this api */
14
8
  reportableParent?: ApiReportable;
15
- /** @description The location in the API tree where this API object is mounted */
16
9
  root?: string;
17
- /** @description Throw on error */
18
10
  throwError?: boolean;
19
- /** @description Throw on failures */
20
11
  throwFailure?: boolean;
21
- /** @deprecated use the jwtToken instead*/
22
12
  userid?: string;
23
13
  }
24
14
  export type { ApiConfig };
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IACvC,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAA;IAEjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAEhC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,qCAAqC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IAEvC,SAAS,EAAE,MAAM,CAAA;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAGhC,IAAI,CAAC,EAAE,MAAM,CAAA;IAGb,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,YAAY,CAAC,EAAE,OAAO,CAAA;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
@@ -1,24 +1,14 @@
1
1
  import { ApiReportable } from './Reportable';
2
2
  interface ApiConfig extends ApiReportable {
3
- /** @description The domain where the api is located */
4
3
  apiDomain: string;
5
- /** @description The apiKey used for authentication */
6
4
  apiKey?: string;
7
- /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
8
5
  compressionThreshold?: number;
9
- /** @description The jwtToken of the currently logged in user */
10
6
  jwtToken?: string;
11
- /** @description The query string, if any, that is added to the end of every request */
12
7
  query?: string;
13
- /** @description Parent that should also report events from this api */
14
8
  reportableParent?: ApiReportable;
15
- /** @description The location in the API tree where this API object is mounted */
16
9
  root?: string;
17
- /** @description Throw on error */
18
10
  throwError?: boolean;
19
- /** @description Throw on failures */
20
11
  throwFailure?: boolean;
21
- /** @deprecated use the jwtToken instead*/
22
12
  userid?: string;
23
13
  }
24
14
  export type { ApiConfig };
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IACvC,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAA;IAEjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAEhC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,qCAAqC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IAEvC,SAAS,EAAE,MAAM,CAAA;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAGhC,IAAI,CAAC,EAAE,MAAM,CAAA;IAGb,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,YAAY,CAAC,EAAE,OAAO,CAAA;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
@@ -1,24 +1,14 @@
1
1
  import { ApiReportable } from './Reportable';
2
2
  interface ApiConfig extends ApiReportable {
3
- /** @description The domain where the api is located */
4
3
  apiDomain: string;
5
- /** @description The apiKey used for authentication */
6
4
  apiKey?: string;
7
- /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
8
5
  compressionThreshold?: number;
9
- /** @description The jwtToken of the currently logged in user */
10
6
  jwtToken?: string;
11
- /** @description The query string, if any, that is added to the end of every request */
12
7
  query?: string;
13
- /** @description Parent that should also report events from this api */
14
8
  reportableParent?: ApiReportable;
15
- /** @description The location in the API tree where this API object is mounted */
16
9
  root?: string;
17
- /** @description Throw on error */
18
10
  throwError?: boolean;
19
- /** @description Throw on failures */
20
11
  throwFailure?: boolean;
21
- /** @deprecated use the jwtToken instead*/
22
12
  userid?: string;
23
13
  }
24
14
  export type { ApiConfig };
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IACvC,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAA;IAEjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAEhC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,qCAAqC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IAEvC,SAAS,EAAE,MAAM,CAAA;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAGhC,IAAI,CAAC,EAAE,MAAM,CAAA;IAGb,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,YAAY,CAAC,EAAE,OAAO,CAAA;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
@@ -1,19 +1,2 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
-
16
- // src/index.ts
17
- var src_exports = {};
18
- module.exports = __toCommonJS(src_exports);
1
+ "use strict";var m=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var b=(r,o,p,f)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of x(o))!a.call(r,e)&&e!==p&&m(r,e,{get:()=>o[e],enumerable:!(f=t(o,e))||f.enumerable});return r};var c=r=>b(m({},"__esModule",{value:!0}),r);var d={};module.exports=c(d);
19
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './Envelope'\nexport * from './Error'\nexport * from './Reportable'\nexport * from './Response'\nexport * from './Warning'\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './Envelope'\nexport * from './Error'\nexport * from './Reportable'\nexport * from './Response'\nexport * from './Warning'\n"],"mappings":"+WAAA,IAAAA,EAAA,kBAAAC,EAAAD","names":["src_exports","__toCommonJS"]}
@@ -1,24 +1,14 @@
1
1
  import { ApiReportable } from './Reportable';
2
2
  interface ApiConfig extends ApiReportable {
3
- /** @description The domain where the api is located */
4
3
  apiDomain: string;
5
- /** @description The apiKey used for authentication */
6
4
  apiKey?: string;
7
- /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
8
5
  compressionThreshold?: number;
9
- /** @description The jwtToken of the currently logged in user */
10
6
  jwtToken?: string;
11
- /** @description The query string, if any, that is added to the end of every request */
12
7
  query?: string;
13
- /** @description Parent that should also report events from this api */
14
8
  reportableParent?: ApiReportable;
15
- /** @description The location in the API tree where this API object is mounted */
16
9
  root?: string;
17
- /** @description Throw on error */
18
10
  throwError?: boolean;
19
- /** @description Throw on failures */
20
11
  throwFailure?: boolean;
21
- /** @deprecated use the jwtToken instead*/
22
12
  userid?: string;
23
13
  }
24
14
  export type { ApiConfig };
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IACvC,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAA;IAEjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAEhC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,qCAAqC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IAEvC,SAAS,EAAE,MAAM,CAAA;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAGhC,IAAI,CAAC,EAAE,MAAM,CAAA;IAGb,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,YAAY,CAAC,EAAE,OAAO,CAAA;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
@@ -1,24 +1,14 @@
1
1
  import { ApiReportable } from './Reportable';
2
2
  interface ApiConfig extends ApiReportable {
3
- /** @description The domain where the api is located */
4
3
  apiDomain: string;
5
- /** @description The apiKey used for authentication */
6
4
  apiKey?: string;
7
- /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
8
5
  compressionThreshold?: number;
9
- /** @description The jwtToken of the currently logged in user */
10
6
  jwtToken?: string;
11
- /** @description The query string, if any, that is added to the end of every request */
12
7
  query?: string;
13
- /** @description Parent that should also report events from this api */
14
8
  reportableParent?: ApiReportable;
15
- /** @description The location in the API tree where this API object is mounted */
16
9
  root?: string;
17
- /** @description Throw on error */
18
10
  throwError?: boolean;
19
- /** @description Throw on failures */
20
11
  throwFailure?: boolean;
21
- /** @deprecated use the jwtToken instead*/
22
12
  userid?: string;
23
13
  }
24
14
  export type { ApiConfig };
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IACvC,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAA;IAEjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAEhC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,qCAAqC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IAEvC,SAAS,EAAE,MAAM,CAAA;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAGhC,IAAI,CAAC,EAAE,MAAM,CAAA;IAGb,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,YAAY,CAAC,EAAE,OAAO,CAAA;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
@@ -1,24 +1,14 @@
1
1
  import { ApiReportable } from './Reportable';
2
2
  interface ApiConfig extends ApiReportable {
3
- /** @description The domain where the api is located */
4
3
  apiDomain: string;
5
- /** @description The apiKey used for authentication */
6
4
  apiKey?: string;
7
- /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
8
5
  compressionThreshold?: number;
9
- /** @description The jwtToken of the currently logged in user */
10
6
  jwtToken?: string;
11
- /** @description The query string, if any, that is added to the end of every request */
12
7
  query?: string;
13
- /** @description Parent that should also report events from this api */
14
8
  reportableParent?: ApiReportable;
15
- /** @description The location in the API tree where this API object is mounted */
16
9
  root?: string;
17
- /** @description Throw on error */
18
10
  throwError?: boolean;
19
- /** @description Throw on failures */
20
11
  throwFailure?: boolean;
21
- /** @deprecated use the jwtToken instead*/
22
12
  userid?: string;
23
13
  }
24
14
  export type { ApiConfig };
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IACvC,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAA;IAEjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAEhC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,qCAAqC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IAEvC,SAAS,EAAE,MAAM,CAAA;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAGhC,IAAI,CAAC,EAAE,MAAM,CAAA;IAGb,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,YAAY,CAAC,EAAE,OAAO,CAAA;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
@@ -1,19 +1,2 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
-
16
- // src/index.ts
17
- var src_exports = {};
18
- module.exports = __toCommonJS(src_exports);
1
+ "use strict";var m=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var b=(r,o,p,f)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of x(o))!a.call(r,e)&&e!==p&&m(r,e,{get:()=>o[e],enumerable:!(f=t(o,e))||f.enumerable});return r};var c=r=>b(m({},"__esModule",{value:!0}),r);var d={};module.exports=c(d);
19
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './Envelope'\nexport * from './Error'\nexport * from './Reportable'\nexport * from './Response'\nexport * from './Warning'\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './Envelope'\nexport * from './Error'\nexport * from './Reportable'\nexport * from './Response'\nexport * from './Warning'\n"],"mappings":"+WAAA,IAAAA,EAAA,kBAAAC,EAAAD","names":["src_exports","__toCommonJS"]}
@@ -1,24 +1,14 @@
1
1
  import { ApiReportable } from './Reportable';
2
2
  interface ApiConfig extends ApiReportable {
3
- /** @description The domain where the api is located */
4
3
  apiDomain: string;
5
- /** @description The apiKey used for authentication */
6
4
  apiKey?: string;
7
- /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
8
5
  compressionThreshold?: number;
9
- /** @description The jwtToken of the currently logged in user */
10
6
  jwtToken?: string;
11
- /** @description The query string, if any, that is added to the end of every request */
12
7
  query?: string;
13
- /** @description Parent that should also report events from this api */
14
8
  reportableParent?: ApiReportable;
15
- /** @description The location in the API tree where this API object is mounted */
16
9
  root?: string;
17
- /** @description Throw on error */
18
10
  throwError?: boolean;
19
- /** @description Throw on failures */
20
11
  throwFailure?: boolean;
21
- /** @deprecated use the jwtToken instead*/
22
12
  userid?: string;
23
13
  }
24
14
  export type { ApiConfig };
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IACvC,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAA;IAEjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAEhC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,qCAAqC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IAEvC,SAAS,EAAE,MAAM,CAAA;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAGhC,IAAI,CAAC,EAAE,MAAM,CAAA;IAGb,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,YAAY,CAAC,EAAE,OAAO,CAAA;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
@@ -1,24 +1,14 @@
1
1
  import { ApiReportable } from './Reportable';
2
2
  interface ApiConfig extends ApiReportable {
3
- /** @description The domain where the api is located */
4
3
  apiDomain: string;
5
- /** @description The apiKey used for authentication */
6
4
  apiKey?: string;
7
- /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
8
5
  compressionThreshold?: number;
9
- /** @description The jwtToken of the currently logged in user */
10
6
  jwtToken?: string;
11
- /** @description The query string, if any, that is added to the end of every request */
12
7
  query?: string;
13
- /** @description Parent that should also report events from this api */
14
8
  reportableParent?: ApiReportable;
15
- /** @description The location in the API tree where this API object is mounted */
16
9
  root?: string;
17
- /** @description Throw on error */
18
10
  throwError?: boolean;
19
- /** @description Throw on failures */
20
11
  throwFailure?: boolean;
21
- /** @deprecated use the jwtToken instead*/
22
12
  userid?: string;
23
13
  }
24
14
  export type { ApiConfig };
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IACvC,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAA;IAEjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAEhC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,qCAAqC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IAEvC,SAAS,EAAE,MAAM,CAAA;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAGhC,IAAI,CAAC,EAAE,MAAM,CAAA;IAGb,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,YAAY,CAAC,EAAE,OAAO,CAAA;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
@@ -1,24 +1,14 @@
1
1
  import { ApiReportable } from './Reportable';
2
2
  interface ApiConfig extends ApiReportable {
3
- /** @description The domain where the api is located */
4
3
  apiDomain: string;
5
- /** @description The apiKey used for authentication */
6
4
  apiKey?: string;
7
- /** @description Threshold for Content-Size to cause automatic gzip of request body [default = 1024] */
8
5
  compressionThreshold?: number;
9
- /** @description The jwtToken of the currently logged in user */
10
6
  jwtToken?: string;
11
- /** @description The query string, if any, that is added to the end of every request */
12
7
  query?: string;
13
- /** @description Parent that should also report events from this api */
14
8
  reportableParent?: ApiReportable;
15
- /** @description The location in the API tree where this API object is mounted */
16
9
  root?: string;
17
- /** @description Throw on error */
18
10
  throwError?: boolean;
19
- /** @description Throw on failures */
20
11
  throwFailure?: boolean;
21
- /** @deprecated use the jwtToken instead*/
22
12
  userid?: string;
23
13
  }
24
14
  export type { ApiConfig };
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IACvC,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAA;IAEjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,uGAAuG;IACvG,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAEhC,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB,qCAAqC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,UAAU,SAAU,SAAQ,aAAa;IAEvC,SAAS,EAAE,MAAM,CAAA;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAA;IAGf,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,CAAA;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,gBAAgB,CAAC,EAAE,aAAa,CAAA;IAGhC,IAAI,CAAC,EAAE,MAAM,CAAA;IAGb,UAAU,CAAC,EAAE,OAAO,CAAA;IAGpB,YAAY,CAAC,EAAE,OAAO,CAAA;IAGtB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,YAAY,EAAE,SAAS,EAAE,CAAA"}
@@ -1,19 +1,2 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
-
16
- // src/index.ts
17
- var src_exports = {};
18
- module.exports = __toCommonJS(src_exports);
1
+ "use strict";var m=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var b=(r,o,p,f)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of x(o))!a.call(r,e)&&e!==p&&m(r,e,{get:()=>o[e],enumerable:!(f=t(o,e))||f.enumerable});return r};var c=r=>b(m({},"__esModule",{value:!0}),r);var d={};module.exports=c(d);
19
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './Envelope'\nexport * from './Error'\nexport * from './Reportable'\nexport * from './Response'\nexport * from './Warning'\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Config'\nexport * from './Envelope'\nexport * from './Error'\nexport * from './Reportable'\nexport * from './Response'\nexport * from './Warning'\n"],"mappings":"+WAAA,IAAAA,EAAA,kBAAAC,EAAAD","names":["src_exports","__toCommonJS"]}
package/package.json CHANGED
@@ -12,9 +12,9 @@
12
12
  "@xylabs/axios": "^3.5.1"
13
13
  },
14
14
  "devDependencies": {
15
- "@xylabs/ts-scripts-yarn3": "^3.11.2",
16
- "@xylabs/tsconfig": "^3.11.2",
17
- "typescript": "^5.4.5"
15
+ "@xylabs/ts-scripts-yarn3": "^3.11.8",
16
+ "@xylabs/tsconfig": "^3.11.8",
17
+ "typescript": "^5.5.2"
18
18
  },
19
19
  "description": "Primary SDK for using XYO Protocol 2.0",
20
20
  "exports": {
@@ -56,6 +56,6 @@
56
56
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
57
57
  },
58
58
  "sideEffects": false,
59
- "version": "2.106.0",
59
+ "version": "2.107.0",
60
60
  "type": "module"
61
61
  }