@xyo-network/crypto-cards-move-plugin 5.5.1 → 6.0.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.
package/dist/browser/index.mjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Plugin.ts", "../../src/Witness.ts", "../../src/Schema.ts"],
|
|
4
|
+
"sourcesContent": ["import { CryptoCardsMoveSchema } from '@xyo-network/crypto-cards-move-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/sdk-js'\n\nimport { CryptoCardsMoveWitness } from './Witness.ts'\n\nexport const CryptoCardsMovePlugin = () =>\n createPayloadSetWitnessPlugin<CryptoCardsMoveWitness>(\n { required: { [CryptoCardsMoveSchema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return await CryptoCardsMoveWitness.create(params)\n },\n },\n )\n", "import type { Promisable } from '@xylabs/sdk-js'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport type { Payload, Schema } from '@xyo-network/payload-model'\nimport { AbstractWitness } from '@xyo-network/witness-abstract'\nimport type { WitnessConfig, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsMoveWitnessConfigSchema } from './Schema.ts'\n\nexport type CryptoCardsMoveWitnessConfig = WitnessConfig<{\n schema: CryptoCardsMoveWitnessConfigSchema\n}>\n\nexport type CryptoCardsMoveWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsMoveWitnessConfig>>\n\nexport class CryptoCardsMoveWitness<TParams extends CryptoCardsMoveWitnessParams = CryptoCardsMoveWitnessParams> extends AbstractWitness<TParams> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, CryptoCardsMoveWitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = CryptoCardsMoveWitnessConfigSchema\n\n protected override observeHandler(payloads?: Payload[]): Promisable<Payload[]> {\n return payloads ?? []\n }\n}\n", "import { asSchema } from '@xyo-network/payload-model'\n\nexport type CryptoCardsMoveWitnessConfigSchema = typeof CryptoCardsMoveWitnessConfigSchema\nexport const CryptoCardsMoveWitnessConfigSchema = asSchema('network.xyo.crypto.cards.move.witness.config', true)\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACC9C,SAAS,uBAAuB;;;ACHhC,SAAS,gBAAgB;AAGlB,IAAM,qCAAqC,SAAS,gDAAgD,IAAI;;;ADWxG,IAAM,yBAAN,cAAkH,gBAAyB;AAAA,EAChJ,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,kCAAkC;AAAA,EAC9G,OAAyB,sBAA8B;AAAA,EAEpC,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADfO,IAAM,wBAAwB,MACnC;AAAA,EACE,EAAE,UAAU,EAAE,CAAC,qBAAqB,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EACrE;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAO,MAAM,uBAAuB,OAAO,MAAM;AAAA,IACnD;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Plugin.ts", "../../src/Witness.ts", "../../src/Schema.ts"],
|
|
4
|
+
"sourcesContent": ["import { CryptoCardsMoveSchema } from '@xyo-network/crypto-cards-move-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/sdk-js'\n\nimport { CryptoCardsMoveWitness } from './Witness.ts'\n\nexport const CryptoCardsMovePlugin = () =>\n createPayloadSetWitnessPlugin<CryptoCardsMoveWitness>(\n { required: { [CryptoCardsMoveSchema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return await CryptoCardsMoveWitness.create(params)\n },\n },\n )\n", "import type { Promisable } from '@xylabs/sdk-js'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport type { Payload, Schema } from '@xyo-network/payload-model'\nimport { AbstractWitness } from '@xyo-network/witness-abstract'\nimport type { WitnessConfig, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsMoveWitnessConfigSchema } from './Schema.ts'\n\nexport type CryptoCardsMoveWitnessConfig = WitnessConfig<{\n schema: CryptoCardsMoveWitnessConfigSchema\n}>\n\nexport type CryptoCardsMoveWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsMoveWitnessConfig>>\n\nexport class CryptoCardsMoveWitness<TParams extends CryptoCardsMoveWitnessParams = CryptoCardsMoveWitnessParams> extends AbstractWitness<TParams> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, CryptoCardsMoveWitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = CryptoCardsMoveWitnessConfigSchema\n\n protected override observeHandler(payloads?: Payload[]): Promisable<Payload[]> {\n return payloads ?? []\n }\n}\n", "import { asSchema } from '@xyo-network/payload-model'\n\nexport type CryptoCardsMoveWitnessConfigSchema = typeof CryptoCardsMoveWitnessConfigSchema\nexport const CryptoCardsMoveWitnessConfigSchema = asSchema('network.xyo.crypto.cards.move.witness.config', true)\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACC9C,SAAS,uBAAuB;;;ACHhC,SAAS,gBAAgB;AAGlB,IAAM,qCAAqC,SAAS,gDAAgD,IAAI;;;ADWxG,IAAM,yBAAN,cAAkH,gBAAyB;AAAA,EAChJ,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,kCAAkC;AAAA,EAC9G,OAAyB,sBAA8B;AAAA,EAEpC,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADfO,IAAM,wBAAwB,MACnC;AAAA,EACE,EAAE,UAAU,EAAE,CAAC,qBAAqB,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EACrE;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAO,MAAM,uBAAuB,OAAO,MAAM;AAAA,IACnD;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/node/index.mjs
CHANGED
package/dist/node/index.mjs.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Plugin.ts", "../../src/Witness.ts", "../../src/Schema.ts"],
|
|
4
|
+
"sourcesContent": ["import { CryptoCardsMoveSchema } from '@xyo-network/crypto-cards-move-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/sdk-js'\n\nimport { CryptoCardsMoveWitness } from './Witness.ts'\n\nexport const CryptoCardsMovePlugin = () =>\n createPayloadSetWitnessPlugin<CryptoCardsMoveWitness>(\n { required: { [CryptoCardsMoveSchema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return await CryptoCardsMoveWitness.create(params)\n },\n },\n )\n", "import type { Promisable } from '@xylabs/sdk-js'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport type { Payload, Schema } from '@xyo-network/payload-model'\nimport { AbstractWitness } from '@xyo-network/witness-abstract'\nimport type { WitnessConfig, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsMoveWitnessConfigSchema } from './Schema.ts'\n\nexport type CryptoCardsMoveWitnessConfig = WitnessConfig<{\n schema: CryptoCardsMoveWitnessConfigSchema\n}>\n\nexport type CryptoCardsMoveWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsMoveWitnessConfig>>\n\nexport class CryptoCardsMoveWitness<TParams extends CryptoCardsMoveWitnessParams = CryptoCardsMoveWitnessParams> extends AbstractWitness<TParams> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, CryptoCardsMoveWitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = CryptoCardsMoveWitnessConfigSchema\n\n protected override observeHandler(payloads?: Payload[]): Promisable<Payload[]> {\n return payloads ?? []\n }\n}\n", "import { asSchema } from '@xyo-network/payload-model'\n\nexport type CryptoCardsMoveWitnessConfigSchema = typeof CryptoCardsMoveWitnessConfigSchema\nexport const CryptoCardsMoveWitnessConfigSchema = asSchema('network.xyo.crypto.cards.move.witness.config', true)\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACC9C,SAAS,uBAAuB;;;ACHhC,SAAS,gBAAgB;AAGlB,IAAM,qCAAqC,SAAS,gDAAgD,IAAI;;;ADWxG,IAAM,yBAAN,cAAkH,gBAAyB;AAAA,EAChJ,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,kCAAkC;AAAA,EAC9G,OAAyB,sBAA8B;AAAA,EAEpC,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADfO,IAAM,wBAAwB,MACnC;AAAA,EACE,EAAE,UAAU,EAAE,CAAC,qBAAqB,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EACrE;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAO,MAAM,uBAAuB,OAAO,MAAM;AAAA,IACnD;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/crypto-cards-move-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"README.md"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@xyo-network/crypto-cards-move-payload-plugin": "~
|
|
34
|
+
"@xyo-network/crypto-cards-move-payload-plugin": "~6.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@bitauth/libauth": "~3.0.0",
|
|
@@ -40,105 +40,105 @@
|
|
|
40
40
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
41
41
|
"@scure/base": "^2.2.0",
|
|
42
42
|
"@scure/bip39": "~2.2.0",
|
|
43
|
-
"@xylabs/geo": "
|
|
44
|
-
"@xylabs/sdk-js": "
|
|
45
|
-
"@xylabs/threads": "
|
|
46
|
-
"@xylabs/toolchain": "~
|
|
47
|
-
"@xylabs/tsconfig": "~
|
|
48
|
-
"@xylabs/vitest-extended": "~
|
|
49
|
-
"@xyo-network/account": "~
|
|
50
|
-
"@xyo-network/account-model": "
|
|
51
|
-
"@xyo-network/api": "~
|
|
52
|
-
"@xyo-network/api-models": "~
|
|
53
|
-
"@xyo-network/boundwitness-builder": "~
|
|
54
|
-
"@xyo-network/boundwitness-model": "
|
|
55
|
-
"@xyo-network/boundwitness-wrapper": "~
|
|
56
|
-
"@xyo-network/config-payload-plugin": "~
|
|
57
|
-
"@xyo-network/huri": "~
|
|
58
|
-
"@xyo-network/manifest-model": "~
|
|
59
|
-
"@xyo-network/module-model": "
|
|
60
|
-
"@xyo-network/payload-builder": "~
|
|
61
|
-
"@xyo-network/payload-model": "
|
|
62
|
-
"@xyo-network/payload-plugin": "~
|
|
63
|
-
"@xyo-network/payload-wrapper": "~
|
|
64
|
-
"@xyo-network/query-payload-plugin": "~
|
|
65
|
-
"@xyo-network/sdk-js": "
|
|
66
|
-
"@xyo-network/sdk-protocol-js": "~
|
|
67
|
-
"@xyo-network/wallet": "~
|
|
68
|
-
"@xyo-network/wallet-model": "~
|
|
69
|
-
"@xyo-network/witness-abstract": "
|
|
70
|
-
"@xyo-network/witness-model": "
|
|
43
|
+
"@xylabs/geo": "~6.0",
|
|
44
|
+
"@xylabs/sdk-js": "~6.0",
|
|
45
|
+
"@xylabs/threads": "~6.0",
|
|
46
|
+
"@xylabs/toolchain": "~8.1.1",
|
|
47
|
+
"@xylabs/tsconfig": "~8.1.1",
|
|
48
|
+
"@xylabs/vitest-extended": "~6.0.2",
|
|
49
|
+
"@xyo-network/account": "~6.0",
|
|
50
|
+
"@xyo-network/account-model": "~6.0",
|
|
51
|
+
"@xyo-network/api": "~6.0",
|
|
52
|
+
"@xyo-network/api-models": "~6.0",
|
|
53
|
+
"@xyo-network/boundwitness-builder": "~6.0",
|
|
54
|
+
"@xyo-network/boundwitness-model": "~6.0",
|
|
55
|
+
"@xyo-network/boundwitness-wrapper": "~6.0",
|
|
56
|
+
"@xyo-network/config-payload-plugin": "~6.0",
|
|
57
|
+
"@xyo-network/huri": "~6.0",
|
|
58
|
+
"@xyo-network/manifest-model": "~6.0",
|
|
59
|
+
"@xyo-network/module-model": "~6.0",
|
|
60
|
+
"@xyo-network/payload-builder": "~6.0",
|
|
61
|
+
"@xyo-network/payload-model": "~6.0",
|
|
62
|
+
"@xyo-network/payload-plugin": "~6.0",
|
|
63
|
+
"@xyo-network/payload-wrapper": "~6.0",
|
|
64
|
+
"@xyo-network/query-payload-plugin": "~6.0",
|
|
65
|
+
"@xyo-network/sdk-js": "~6.0",
|
|
66
|
+
"@xyo-network/sdk-protocol-js": "~6.0",
|
|
67
|
+
"@xyo-network/wallet": "~6.0",
|
|
68
|
+
"@xyo-network/wallet-model": "~6.0",
|
|
69
|
+
"@xyo-network/witness-abstract": "~6.0",
|
|
70
|
+
"@xyo-network/witness-model": "~6.0",
|
|
71
71
|
"ajv": "^8.20.0",
|
|
72
72
|
"async-mutex": "^0.5.0",
|
|
73
73
|
"bn.js": "^5.2.3",
|
|
74
74
|
"buffer": "^6.0.3",
|
|
75
75
|
"chalk": "^5.6.2",
|
|
76
76
|
"debug": "~4.4.3",
|
|
77
|
-
"eslint": "^10.
|
|
77
|
+
"eslint": "^10.4.0",
|
|
78
78
|
"ethers": "^6.16.0",
|
|
79
79
|
"hash-wasm": "^4.12.0",
|
|
80
80
|
"idb": "^8.0.3",
|
|
81
|
-
"lru-cache": "^11.
|
|
82
|
-
"mapbox-gl": "~3.
|
|
81
|
+
"lru-cache": "^11.5.0",
|
|
82
|
+
"mapbox-gl": "~3.24",
|
|
83
83
|
"observable-fns": "~0.6.1",
|
|
84
84
|
"pako": "~2.1.0",
|
|
85
85
|
"store2": "~2.14.4",
|
|
86
|
-
"typescript": "~
|
|
87
|
-
"vite": "^8.0.
|
|
88
|
-
"vitest": "^4.1.
|
|
86
|
+
"typescript": "~6.0.3",
|
|
87
|
+
"vite": "^8.0.13",
|
|
88
|
+
"vitest": "^4.1.7",
|
|
89
89
|
"wasm-feature-detect": "~1.8.0",
|
|
90
90
|
"webextension-polyfill": "^0.12.0",
|
|
91
91
|
"zod": "^4.4.3"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@bitauth/libauth": "
|
|
95
|
-
"@metamask/providers": "
|
|
96
|
-
"@opentelemetry/api": "
|
|
97
|
-
"@opentelemetry/sdk-trace-base": "
|
|
98
|
-
"@scure/base": "
|
|
99
|
-
"@scure/bip39": "
|
|
100
|
-
"@xylabs/geo": "
|
|
101
|
-
"@xylabs/sdk-js": "
|
|
102
|
-
"@xylabs/threads": "
|
|
103
|
-
"@xyo-network/account": "
|
|
104
|
-
"@xyo-network/account-model": "
|
|
105
|
-
"@xyo-network/api": "
|
|
106
|
-
"@xyo-network/api-models": "
|
|
107
|
-
"@xyo-network/boundwitness-builder": "
|
|
108
|
-
"@xyo-network/boundwitness-model": "
|
|
109
|
-
"@xyo-network/boundwitness-wrapper": "
|
|
110
|
-
"@xyo-network/config-payload-plugin": "
|
|
111
|
-
"@xyo-network/huri": "
|
|
112
|
-
"@xyo-network/manifest-model": "
|
|
113
|
-
"@xyo-network/module-model": "
|
|
114
|
-
"@xyo-network/payload-builder": "
|
|
115
|
-
"@xyo-network/payload-model": "
|
|
116
|
-
"@xyo-network/payload-plugin": "
|
|
117
|
-
"@xyo-network/payload-wrapper": "
|
|
118
|
-
"@xyo-network/query-payload-plugin": "
|
|
119
|
-
"@xyo-network/sdk-js": "
|
|
120
|
-
"@xyo-network/sdk-protocol-js": "
|
|
121
|
-
"@xyo-network/wallet": "
|
|
122
|
-
"@xyo-network/wallet-model": "
|
|
123
|
-
"@xyo-network/witness-abstract": "
|
|
124
|
-
"@xyo-network/witness-model": "
|
|
125
|
-
"ajv": "
|
|
126
|
-
"async-mutex": "
|
|
127
|
-
"bn.js": "
|
|
128
|
-
"buffer": "
|
|
129
|
-
"chalk": "
|
|
130
|
-
"debug": "
|
|
131
|
-
"ethers": "
|
|
132
|
-
"hash-wasm": "
|
|
133
|
-
"idb": "
|
|
134
|
-
"lru-cache": "
|
|
135
|
-
"mapbox-gl": "
|
|
136
|
-
"observable-fns": "
|
|
137
|
-
"pako": "
|
|
138
|
-
"store2": "
|
|
139
|
-
"wasm-feature-detect": "
|
|
140
|
-
"webextension-polyfill": "
|
|
141
|
-
"zod": "
|
|
94
|
+
"@bitauth/libauth": "~3.0",
|
|
95
|
+
"@metamask/providers": "^22.1",
|
|
96
|
+
"@opentelemetry/api": "^1.9",
|
|
97
|
+
"@opentelemetry/sdk-trace-base": "^2.7",
|
|
98
|
+
"@scure/base": "^2.2",
|
|
99
|
+
"@scure/bip39": "~2.2",
|
|
100
|
+
"@xylabs/geo": "^6.0",
|
|
101
|
+
"@xylabs/sdk-js": "^6.0",
|
|
102
|
+
"@xylabs/threads": "^6.0",
|
|
103
|
+
"@xyo-network/account": "~6.0",
|
|
104
|
+
"@xyo-network/account-model": "^6.0",
|
|
105
|
+
"@xyo-network/api": "~6.0",
|
|
106
|
+
"@xyo-network/api-models": "~6.0",
|
|
107
|
+
"@xyo-network/boundwitness-builder": "~6.0",
|
|
108
|
+
"@xyo-network/boundwitness-model": "^6.0",
|
|
109
|
+
"@xyo-network/boundwitness-wrapper": "~6.0",
|
|
110
|
+
"@xyo-network/config-payload-plugin": "~6.0",
|
|
111
|
+
"@xyo-network/huri": "~6.0",
|
|
112
|
+
"@xyo-network/manifest-model": "~6.0",
|
|
113
|
+
"@xyo-network/module-model": "^6.0",
|
|
114
|
+
"@xyo-network/payload-builder": "~6.0",
|
|
115
|
+
"@xyo-network/payload-model": "^6.0",
|
|
116
|
+
"@xyo-network/payload-plugin": "~6.0",
|
|
117
|
+
"@xyo-network/payload-wrapper": "~6.0",
|
|
118
|
+
"@xyo-network/query-payload-plugin": "~6.0",
|
|
119
|
+
"@xyo-network/sdk-js": "^6.0",
|
|
120
|
+
"@xyo-network/sdk-protocol-js": "~6.0",
|
|
121
|
+
"@xyo-network/wallet": "~6.0",
|
|
122
|
+
"@xyo-network/wallet-model": "~6.0",
|
|
123
|
+
"@xyo-network/witness-abstract": "^6.0",
|
|
124
|
+
"@xyo-network/witness-model": "^6.0",
|
|
125
|
+
"ajv": "^8.20",
|
|
126
|
+
"async-mutex": "^0.5",
|
|
127
|
+
"bn.js": "^5.2",
|
|
128
|
+
"buffer": "^6.0",
|
|
129
|
+
"chalk": "^5.6",
|
|
130
|
+
"debug": "~4.4",
|
|
131
|
+
"ethers": "^6.16",
|
|
132
|
+
"hash-wasm": "^4.12",
|
|
133
|
+
"idb": "^8.0",
|
|
134
|
+
"lru-cache": "^11.3",
|
|
135
|
+
"mapbox-gl": "~3.24",
|
|
136
|
+
"observable-fns": "~0.6",
|
|
137
|
+
"pako": "~2.1",
|
|
138
|
+
"store2": "~2.14",
|
|
139
|
+
"wasm-feature-detect": "~1.8",
|
|
140
|
+
"webextension-polyfill": "^0.12",
|
|
141
|
+
"zod": "^4.4"
|
|
142
142
|
},
|
|
143
143
|
"publishConfig": {
|
|
144
144
|
"access": "public"
|