@totemsdk/omnia-factory 0.5.1 → 0.5.2
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/cjs/script.js +1 -1
- package/dist/script.js +1 -1
- package/package.json +4 -4
package/dist/cjs/script.js
CHANGED
|
@@ -86,7 +86,7 @@ function buildFactoryScript(participants, _options = {}) {
|
|
|
86
86
|
// share is the entire output there is no remainder, so a 0-amount output is
|
|
87
87
|
// never required.
|
|
88
88
|
lines.push(` IF @AMOUNT GT SHARE${k} THEN`);
|
|
89
|
-
lines.push(` RETURN VERIFYOUT(
|
|
89
|
+
lines.push(` RETURN VERIFYOUT(1 @ADDRESS @AMOUNT SUB SHARE${k} @TOKENID TRUE)`);
|
|
90
90
|
lines.push(' ENDIF');
|
|
91
91
|
lines.push(' RETURN TRUE');
|
|
92
92
|
lines.push(' ENDIF');
|
package/dist/script.js
CHANGED
|
@@ -77,7 +77,7 @@ export function buildFactoryScript(participants, _options = {}) {
|
|
|
77
77
|
// share is the entire output there is no remainder, so a 0-amount output is
|
|
78
78
|
// never required.
|
|
79
79
|
lines.push(` IF @AMOUNT GT SHARE${k} THEN`);
|
|
80
|
-
lines.push(` RETURN VERIFYOUT(
|
|
80
|
+
lines.push(` RETURN VERIFYOUT(1 @ADDRESS @AMOUNT SUB SHARE${k} @TOKENID TRUE)`);
|
|
81
81
|
lines.push(' ENDIF');
|
|
82
82
|
lines.push(' RETURN TRUE');
|
|
83
83
|
lines.push(' ENDIF');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totemsdk/omnia-factory",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Channel factory layer for Omnia — N-of-N MULTISIG funding, virtual channel management, and factory settlement",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"LICENSE"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@totemsdk/core": "^1.3.0",
|
|
28
27
|
"@totemsdk/omnia": "^2.0.1",
|
|
29
28
|
"@totemsdk/wots-lease": "^1.0.1",
|
|
30
29
|
"@totemsdk/tx-builder": "^0.2.1",
|
|
30
|
+
"@totemsdk/core": "^1.3.0",
|
|
31
31
|
"@totemsdk/txpow": "^1.0.2",
|
|
32
|
-
"@totemsdk/
|
|
33
|
-
"@totemsdk/
|
|
32
|
+
"@totemsdk/storage": "^0.1.0",
|
|
33
|
+
"@totemsdk/chain-provider": "^0.2.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/jest": "^30.0.0",
|