@xyo-network/address-payload-plugin 7.0.9 → 7.0.10

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,3 +1,2 @@
1
- export { AddressPayloadPlugin, AddressPayloadPlugin as default } from './Plugin.ts';
2
- export * from './Template.ts';
1
+ export * from '@xyo-network/sdk/address-payload-plugin';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AACnF,cAAc,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,yCAAyC,CAAA"}
@@ -1,23 +1,3 @@
1
- // src/Plugin.ts
2
- import { AddressSchema as AddressSchema2 } from "@xyo-network/module-model";
3
- import { createPayloadPlugin } from "@xyo-network/sdk-protocol";
4
-
5
- // src/Template.ts
6
- import { ZERO_ADDRESS } from "@ariestools/sdk";
7
- import { AddressSchema } from "@xyo-network/module-model";
8
- var addressPayloadTemplate = () => ({
9
- address: ZERO_ADDRESS,
10
- schema: AddressSchema
11
- });
12
-
13
- // src/Plugin.ts
14
- var AddressPayloadPlugin = () => createPayloadPlugin({
15
- schema: AddressSchema2,
16
- template: addressPayloadTemplate
17
- });
18
- export {
19
- AddressPayloadPlugin,
20
- addressPayloadTemplate,
21
- AddressPayloadPlugin as default
22
- };
1
+ // src/index.ts
2
+ export * from "@xyo-network/sdk/address-payload-plugin";
23
3
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/Plugin.ts", "../../src/Template.ts"],
4
- "sourcesContent": ["import type { AddressPayload } from '@xyo-network/module-model'\nimport { AddressSchema } from '@xyo-network/module-model'\nimport type { PayloadPlugin } from '@xyo-network/sdk-protocol'\nimport { createPayloadPlugin } from '@xyo-network/sdk-protocol'\n\nimport { addressPayloadTemplate } from './Template.ts'\n\nexport const AddressPayloadPlugin = (): PayloadPlugin<AddressPayload> =>\n createPayloadPlugin<AddressPayload>({\n schema: AddressSchema,\n template: addressPayloadTemplate,\n })\n", "import { ZERO_ADDRESS } from '@ariestools/sdk'\nimport type { AddressPayload } from '@xyo-network/module-model'\nimport { AddressSchema } from '@xyo-network/module-model'\n\nexport const addressPayloadTemplate = (): AddressPayload => ({\n address: ZERO_ADDRESS,\n schema: AddressSchema,\n})\n"],
5
- "mappings": ";AACA,SAAS,iBAAAA,sBAAqB;AAE9B,SAAS,2BAA2B;;;ACHpC,SAAS,oBAAoB;AAE7B,SAAS,qBAAqB;AAEvB,IAAM,yBAAyB,OAAuB;AAAA,EAC3D,SAAS;AAAA,EACT,QAAQ;AACV;;;ADAO,IAAM,uBAAuB,MAClC,oBAAoC;AAAA,EAClC,QAAQC;AAAA,EACR,UAAU;AACZ,CAAC;",
6
- "names": ["AddressSchema", "AddressSchema"]
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["// Compatibility shim: this package re-exports from @xyo-network/sdk.\nexport * from '@xyo-network/sdk/address-payload-plugin'\n"],
5
+ "mappings": ";AACA,cAAc;",
6
+ "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/address-payload-plugin",
3
- "version": "7.0.9",
3
+ "version": "7.0.10",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -34,12 +34,11 @@
34
34
  "README.md"
35
35
  ],
36
36
  "dependencies": {
37
- "@xyo-network/module-model": "~7.0.9"
37
+ "@xyo-network/sdk": "~7.0.10"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@ariestools/sdk": "~8.0.2",
41
41
  "@ariestools/threads": "~8.0.2",
42
- "@ariestools/vitest-extended": "~8.0.2",
43
42
  "@bitauth/libauth": "~3.0.0",
44
43
  "@metamask/providers": "~22.1.1",
45
44
  "@noble/post-quantum": "~0.6.1",
@@ -47,9 +46,9 @@
47
46
  "@opentelemetry/sdk-trace-base": "~2.9.0",
48
47
  "@scure/base": "~2.2.0",
49
48
  "@scure/bip39": "~2.2.0",
50
- "@xylabs/toolchain": "~8.6.3",
51
- "@xylabs/tsconfig": "~8.6.3",
52
- "@xyo-network/sdk-protocol": "~7.0.14",
49
+ "@xylabs/toolchain": "~8.6.8",
50
+ "@xylabs/tsconfig": "~8.6.8",
51
+ "@xyo-network/sdk-protocol": "~7.0.15",
53
52
  "ajv": "~8.20.0",
54
53
  "async-mutex": "~0.5.0",
55
54
  "debug": "~4.4.3",
@@ -58,10 +57,9 @@
58
57
  "ethers": "~6.17.0",
59
58
  "hash-wasm": "~4.12.0",
60
59
  "idb": "~8.0.3",
60
+ "lru-cache": "~11.5.1",
61
61
  "observable-fns": "~0.6.1",
62
62
  "typescript": "~6.0.3",
63
- "vite": "~8.1.3",
64
- "vitest": "~4.1.9",
65
63
  "webextension-polyfill": "~0.12.0",
66
64
  "zod": "~4.4.3"
67
65
  },
@@ -75,13 +73,14 @@
75
73
  "@opentelemetry/sdk-trace-base": "^2.9.0",
76
74
  "@scure/base": "^2.2.0",
77
75
  "@scure/bip39": "^2.2.0",
78
- "@xyo-network/sdk-protocol": "^7.0.14",
76
+ "@xyo-network/sdk-protocol": "^7.0.15",
79
77
  "ajv": "^8.20.0",
80
78
  "async-mutex": "^0.5.0",
81
79
  "debug": "^4.4.3",
82
80
  "ethers": "^6.17.0",
83
81
  "hash-wasm": "^4.12.0",
84
82
  "idb": "^8.0.3",
83
+ "lru-cache": "^11.5.1",
85
84
  "observable-fns": "^0.6.1",
86
85
  "webextension-polyfill": "^0.12.0",
87
86
  "zod": "^4.4.3"
@@ -91,5 +90,6 @@
91
90
  },
92
91
  "publishConfig": {
93
92
  "access": "public"
94
- }
93
+ },
94
+ "deprecated": "Use @xyo-network/sdk/address-payload-plugin instead. Replace @xyo-network/address-payload-plugin with @xyo-network/sdk/address-payload-plugin. This package is a compatibility shim only and will not receive further updates."
95
95
  }
@@ -1,4 +0,0 @@
1
- import type { AddressPayload } from '@xyo-network/module-model';
2
- import type { PayloadPlugin } from '@xyo-network/sdk-protocol';
3
- export declare const AddressPayloadPlugin: () => PayloadPlugin<AddressPayload>;
4
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAK9D,eAAO,MAAM,oBAAoB,QAAO,aAAa,CAAC,cAAc,CAIhE,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { AddressPayload } from '@xyo-network/module-model';
2
- export declare const addressPayloadTemplate: () => AddressPayload;
3
- //# sourceMappingURL=Template.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Template.d.ts","sourceRoot":"","sources":["../../src/Template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAG/D,eAAO,MAAM,sBAAsB,QAAO,cAGxC,CAAA"}