@xyo-network/diviner-payload-pointer-memory 3.2.0 → 3.3.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.
@@ -6,8 +6,20 @@ export declare class PayloadPointerDiviner<TParams extends PayloadPointerDiviner
6
6
  static readonly configSchemas: Schema[];
7
7
  static readonly defaultConfigSchema: Schema;
8
8
  protected divineHandler(payloads?: TIn[]): Promise<TOut[]>;
9
+ /**
10
+ * Returns the archivist instance for the given config
11
+ * @returns The archivist instance corresponding to the config
12
+ */
9
13
  private getBoundWitnessDiviner;
14
+ /**
15
+ * Returns the archivist instance for the given config
16
+ * @returns The archivist instance corresponding to the config
17
+ */
10
18
  private getConfigArchivist;
19
+ /**
20
+ * Returns the archivist instance for the given config
21
+ * @returns The archivist instance corresponding to the config
22
+ */
11
23
  private getPayloadDiviner;
12
24
  }
13
25
  //# sourceMappingURL=Diviner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Diviner.d.ts","sourceRoot":"","sources":["../../src/Diviner.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAGzF,OAAO,KAAK,EACV,2BAA2B,EAC3B,cAAc,EACf,MAAM,4CAA4C,CAAA;AAKnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAIjE,qBAAa,qBAAqB,CAChC,OAAO,SAAS,2BAA2B,GAAG,2BAA2B,EACzE,GAAG,SAAS,cAAc,GAAG,cAAc,EAC3C,IAAI,SAAS,OAAO,GAAG,OAAO,EAC9B,UAAU,SAAS,sBAAsB,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,sBAAsB,CAChH,eAAe,CAAC,OAAO,EAAE,GAAG,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AAG,EAAE,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAUzE;;;OAGG;YACW,sBAAsB;IAOpC;;;OAGG;YACW,kBAAkB;IAKhC;;;OAGG;YACW,iBAAiB;CAMhC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-payload-pointer-memory",
3
- "version": "3.2.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,37 +29,37 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/assert": "^4.1.0",
33
- "@xylabs/exists": "^4.1.0",
34
- "@xylabs/hex": "^4.1.0",
35
- "@xyo-network/archivist-model": "^3.2.0",
36
- "@xyo-network/boundwitness-wrapper": "^3.2.0",
37
- "@xyo-network/diviner-abstract": "^3.2.0",
38
- "@xyo-network/diviner-boundwitness-abstract": "^3.2.0",
39
- "@xyo-network/diviner-boundwitness-model": "^3.2.0",
40
- "@xyo-network/diviner-model": "^3.2.0",
41
- "@xyo-network/diviner-payload-abstract": "^3.2.0",
42
- "@xyo-network/diviner-payload-model": "^3.2.0",
43
- "@xyo-network/diviner-payload-pointer-model": "^3.2.0",
44
- "@xyo-network/payload-model": "^3.2.0",
45
- "@xyo-network/payload-wrapper": "^3.2.0"
32
+ "@xylabs/assert": "^4.3.2",
33
+ "@xylabs/exists": "^4.3.2",
34
+ "@xylabs/hex": "^4.3.2",
35
+ "@xyo-network/archivist-model": "^3.3.1",
36
+ "@xyo-network/boundwitness-wrapper": "^3.3.1",
37
+ "@xyo-network/diviner-abstract": "^3.3.1",
38
+ "@xyo-network/diviner-boundwitness-abstract": "^3.3.1",
39
+ "@xyo-network/diviner-boundwitness-model": "^3.3.1",
40
+ "@xyo-network/diviner-model": "^3.3.1",
41
+ "@xyo-network/diviner-payload-abstract": "^3.3.1",
42
+ "@xyo-network/diviner-payload-model": "^3.3.1",
43
+ "@xyo-network/diviner-payload-pointer-model": "^3.3.1",
44
+ "@xyo-network/payload-model": "^3.3.1",
45
+ "@xyo-network/payload-wrapper": "^3.3.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/uuid": "^10.0.0",
49
- "@xylabs/ts-scripts-yarn3": "^4.1.0",
50
- "@xylabs/tsconfig": "^4.1.0",
51
- "@xyo-network/account": "^3.2.0",
52
- "@xyo-network/account-model": "^3.2.0",
53
- "@xyo-network/archivist-memory": "^3.2.0",
54
- "@xyo-network/boundwitness-builder": "^3.2.0",
55
- "@xyo-network/boundwitness-model": "^3.2.0",
56
- "@xyo-network/diviner-boundwitness-memory": "^3.2.0",
57
- "@xyo-network/diviner-payload-memory": "^3.2.0",
58
- "@xyo-network/node-memory": "^3.2.0",
59
- "@xyo-network/node-model": "^3.2.0",
60
- "@xyo-network/payload-builder": "^3.2.0",
61
- "@xyo-network/wallet-model": "^3.2.0",
62
- "typescript": "^5.6.2",
49
+ "@xylabs/ts-scripts-yarn3": "^4.2.3",
50
+ "@xylabs/tsconfig": "^4.2.3",
51
+ "@xyo-network/account": "^3.3.1",
52
+ "@xyo-network/account-model": "^3.3.1",
53
+ "@xyo-network/archivist-memory": "^3.3.1",
54
+ "@xyo-network/boundwitness-builder": "^3.3.1",
55
+ "@xyo-network/boundwitness-model": "^3.3.1",
56
+ "@xyo-network/diviner-boundwitness-memory": "^3.3.1",
57
+ "@xyo-network/diviner-payload-memory": "^3.3.1",
58
+ "@xyo-network/node-memory": "^3.3.1",
59
+ "@xyo-network/node-model": "^3.3.1",
60
+ "@xyo-network/payload-builder": "^3.3.1",
61
+ "@xyo-network/wallet-model": "^3.3.1",
62
+ "typescript": "^5.6.3",
63
63
  "uuid": "^10.0.0"
64
64
  },
65
65
  "publishConfig": {
@@ -3,8 +3,7 @@ import type { ArchivistInstance } from '@xyo-network/archivist-model'
3
3
  import { asArchivistInstance } from '@xyo-network/archivist-model'
4
4
  import type { NodeInstance } from '@xyo-network/node-model'
5
5
 
6
- // eslint-disable-next-line import-x/no-internal-modules
7
- import { ArchivistName } from '../Node/getTestNode.ts'
6
+ import { ArchivistName } from '../Node/index.ts'
8
7
 
9
8
  export const getArchivist = async (node: NodeInstance, name = ArchivistName): Promise<ArchivistInstance> => {
10
9
  return assertEx(asArchivistInstance(await node.resolve(name)), () => `Could not find archivist with name ${name}`)