@xyo-network/api 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,10 @@
1
1
  import type { AxiosResponseTransformer } from 'axios';
2
2
  export declare const locationDivinerApiResponseTransformer: AxiosResponseTransformer;
3
+ /**
4
+ * Gets the response transformers for the LocationDiviner API. Done as a method instead of a property
5
+ * to allow detection of dynamically added response transformers.
6
+ * @param axiosInstance The axios instance (defaults to the global instance if none provided)
7
+ * @returns the response transformers for the LocationDiviner API
8
+ */
3
9
  export declare const getLocationDivinerApiResponseTransformer: (axiosInstance?: import("axios").AxiosStatic) => AxiosResponseTransformer[];
4
10
  //# sourceMappingURL=LocationDivinerApiResponseTransformer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LocationDivinerApiResponseTransformer.d.ts","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAGrD,eAAO,MAAM,qCAAqC,EAAE,wBAEnD,CAAA;AAQD,eAAO,MAAM,wCAAwC,mDAA4B,wBAAwB,EAWxG,CAAA"}
1
+ {"version":3,"file":"LocationDivinerApiResponseTransformer.d.ts","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAGrD,eAAO,MAAM,qCAAqC,EAAE,wBAEnD,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC,mDAA4B,wBAAwB,EAWxG,CAAA"}
@@ -3,6 +3,7 @@ import type { ArchivistApi } from '../Api/index.ts';
3
3
  export type RemoteDivinerConfigSchema = 'network.xyo.diviner.remote.config';
4
4
  export declare const RemoteDivinerConfigSchema: RemoteDivinerConfigSchema;
5
5
  export type RemoteDivinerConfig = DivinerConfig & {
6
+ /** @deprecated use in params instead */
6
7
  api?: ArchivistApi;
7
8
  archive?: string;
8
9
  schema: RemoteDivinerConfigSchema;
@@ -1 +1 @@
1
- {"version":3,"file":"RemoteDivinerConfig.d.ts","sourceRoot":"","sources":["../../../src/Diviner/RemoteDivinerConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,MAAM,MAAM,yBAAyB,GAAG,mCAAmC,CAAA;AAC3E,eAAO,MAAM,yBAAyB,EAAE,yBAA+D,CAAA;AAEvG,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG;IAEhD,GAAG,CAAC,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,yBAAyB,CAAA;CAClC,CAAA"}
1
+ {"version":3,"file":"RemoteDivinerConfig.d.ts","sourceRoot":"","sources":["../../../src/Diviner/RemoteDivinerConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,MAAM,MAAM,yBAAyB,GAAG,mCAAmC,CAAA;AAC3E,eAAO,MAAM,yBAAyB,EAAE,yBAA+D,CAAA;AAEvG,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG;IAChD,wCAAwC;IACxC,GAAG,CAAC,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,yBAAyB,CAAA;CAClC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/api",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,23 +29,23 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/axios": "^4.2.2",
33
- "@xylabs/object": "^4.2.2",
34
- "@xyo-network/api-models": "^3.3.0",
35
- "@xyo-network/boundwitness-model": "^3.3.0",
36
- "@xyo-network/diviner-model": "^3.3.0",
37
- "@xyo-network/huri": "^3.3.0",
38
- "@xyo-network/payload-model": "^3.3.0",
32
+ "@xylabs/axios": "^4.3.2",
33
+ "@xylabs/object": "^4.3.2",
34
+ "@xyo-network/api-models": "^3.3.1",
35
+ "@xyo-network/boundwitness-model": "^3.3.1",
36
+ "@xyo-network/diviner-model": "^3.3.1",
37
+ "@xyo-network/huri": "^3.3.1",
38
+ "@xyo-network/payload-model": "^3.3.1",
39
39
  "axios": "^1.7.7"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/node": "^22.7.6",
42
+ "@types/node": "^22.7.8",
43
43
  "@types/uuid": "^10.0.0",
44
- "@xylabs/jest-helpers": "^4.2.2",
45
- "@xylabs/ts-scripts-yarn3": "^4.2.1",
46
- "@xylabs/tsconfig": "^4.2.1",
47
- "@xyo-network/module-model": "^3.3.0",
48
- "@xyo-network/query-payload-plugin": "^3.3.0",
44
+ "@xylabs/jest-helpers": "^4.3.2",
45
+ "@xylabs/ts-scripts-yarn3": "^4.2.3",
46
+ "@xylabs/tsconfig": "^4.2.3",
47
+ "@xyo-network/module-model": "^3.3.1",
48
+ "@xyo-network/query-payload-plugin": "^3.3.1",
49
49
  "jest": "^29.7.0",
50
50
  "typescript": "^5.6.3",
51
51
  "uuid": "^10.0.0"