@secondlayer/stacks 6.1.2 → 6.2.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/shared/{stacks-esm-qfzxhdqz.js → stacks-esm-1b2rhv6y.js} +2 -2
- package/dist/shared/{stacks-esm-snj9s2q8.js → stacks-esm-7n5wd5md.js} +3 -3
- package/dist/shared/{stacks-esm-pxv6ny92.js → stacks-esm-exgw8j2j.js} +4 -4
- package/dist/shared/{stacks-esm-phgy8yqf.js → stacks-esm-p3zypwsw.js} +15 -3
- package/dist/shared/{stacks-esm-phgy8yqf.js.map → stacks-esm-p3zypwsw.js.map} +3 -3
- package/dist/shared/{stacks-esm-cmtj5vky.js → stacks-esm-pq0e379d.js} +2 -2
- package/dist/shared/{stacks-esm-ea4m4bk7.js → stacks-esm-xcd4sv1h.js} +3 -3
- package/dist/src/actions/index.cjs +13 -1
- package/dist/src/actions/index.cjs.map +3 -3
- package/dist/src/actions/index.js +5 -5
- package/dist/src/bns/index.cjs +13 -1
- package/dist/src/bns/index.cjs.map +3 -3
- package/dist/src/bns/index.js +5 -5
- package/dist/src/index.cjs +13 -1
- package/dist/src/index.cjs.map +3 -3
- package/dist/src/index.js +4 -4
- package/dist/src/postconditions/index.cjs +13 -1
- package/dist/src/postconditions/index.cjs.map +3 -3
- package/dist/src/postconditions/index.js +2 -2
- package/dist/src/pox/index.cjs +13 -1
- package/dist/src/pox/index.cjs.map +3 -3
- package/dist/src/pox/index.js +5 -5
- package/dist/src/pox5/index.cjs +13 -1
- package/dist/src/pox5/index.cjs.map +3 -3
- package/dist/src/pox5/index.js +4 -4
- package/dist/src/sbtc/index.cjs +13 -1
- package/dist/src/sbtc/index.cjs.map +3 -3
- package/dist/src/sbtc/index.js +4 -4
- package/dist/src/simnet/index.cjs +4 -2
- package/dist/src/simnet/index.cjs.map +3 -3
- package/dist/src/simnet/index.js +4 -2
- package/dist/src/simnet/index.js.map +3 -3
- package/dist/src/stackingdao/index.cjs +13 -1
- package/dist/src/stackingdao/index.cjs.map +3 -3
- package/dist/src/stackingdao/index.js +5 -5
- package/dist/src/transactions/index.cjs +15 -2
- package/dist/src/transactions/index.cjs.map +3 -3
- package/dist/src/transactions/index.d.cts +9 -1
- package/dist/src/transactions/index.d.ts +9 -1
- package/dist/src/transactions/index.js +7 -5
- package/dist/src/transactions/index.js.map +1 -1
- package/package.json +1 -1
- /package/dist/shared/{stacks-esm-qfzxhdqz.js.map → stacks-esm-1b2rhv6y.js.map} +0 -0
- /package/dist/shared/{stacks-esm-snj9s2q8.js.map → stacks-esm-7n5wd5md.js.map} +0 -0
- /package/dist/shared/{stacks-esm-pxv6ny92.js.map → stacks-esm-exgw8j2j.js.map} +0 -0
- /package/dist/shared/{stacks-esm-cmtj5vky.js.map → stacks-esm-pq0e379d.js.map} +0 -0
- /package/dist/shared/{stacks-esm-ea4m4bk7.js.map → stacks-esm-xcd4sv1h.js.map} +0 -0
package/dist/src/pox5/index.js
CHANGED
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
} from "../../shared/stacks-esm-hkw1kvd4.js";
|
|
12
12
|
import"../../shared/stacks-esm-kbz5s6v8.js";
|
|
13
13
|
import"../../shared/stacks-esm-a20wyky3.js";
|
|
14
|
-
import"../../shared/stacks-esm-
|
|
15
|
-
import"../../shared/stacks-esm-
|
|
14
|
+
import"../../shared/stacks-esm-p3zypwsw.js";
|
|
15
|
+
import"../../shared/stacks-esm-pq0e379d.js";
|
|
16
16
|
import {
|
|
17
17
|
parseBitcoinTx2,
|
|
18
18
|
stripWitness2,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "../../shared/stacks-esm-nt5hf8ht.js";
|
|
34
34
|
import {
|
|
35
35
|
getContract2
|
|
36
|
-
} from "../../shared/stacks-esm-
|
|
36
|
+
} from "../../shared/stacks-esm-7n5wd5md.js";
|
|
37
37
|
import {
|
|
38
38
|
getBalance2,
|
|
39
39
|
getDataVar2,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "../../shared/stacks-esm-t88hc019.js";
|
|
42
42
|
import {
|
|
43
43
|
getMapEntry2
|
|
44
|
-
} from "../../shared/stacks-esm-
|
|
44
|
+
} from "../../shared/stacks-esm-xcd4sv1h.js";
|
|
45
45
|
import"../../shared/stacks-esm-0pc6tmf0.js";
|
|
46
46
|
|
|
47
47
|
// src/pox5/constants.ts
|
package/dist/src/sbtc/index.cjs
CHANGED
|
@@ -1475,7 +1475,19 @@ function deserializePostConditionWire(input) {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
function deserializeTransaction(input, meta) {
|
|
1477
1477
|
const bytes = typeof input === "string" ? hexToBytes(without0x(input)) : input;
|
|
1478
|
+
return readTransaction(new BytesReader(bytes), meta);
|
|
1479
|
+
}
|
|
1480
|
+
function splitTransactions(bytes, count) {
|
|
1478
1481
|
const r = new BytesReader(bytes);
|
|
1482
|
+
const out = [];
|
|
1483
|
+
for (let i = 0;i < count; i++) {
|
|
1484
|
+
const start = r.offset;
|
|
1485
|
+
readTransaction(r);
|
|
1486
|
+
out.push(bytes.subarray(start, r.offset));
|
|
1487
|
+
}
|
|
1488
|
+
return out;
|
|
1489
|
+
}
|
|
1490
|
+
function readTransaction(r, meta) {
|
|
1479
1491
|
const tx = {
|
|
1480
1492
|
version: r.readUInt8(),
|
|
1481
1493
|
chainId: r.readUInt32BE(),
|
|
@@ -3950,5 +3962,5 @@ function sbtc() {
|
|
|
3950
3962
|
});
|
|
3951
3963
|
}
|
|
3952
3964
|
|
|
3953
|
-
//# debugId=
|
|
3965
|
+
//# debugId=00E3C47F5D973FE464756E2164756E21
|
|
3954
3966
|
//# sourceMappingURL=index.cjs.map
|