@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/bns/index.js
CHANGED
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
Cl2
|
|
7
7
|
} from "../../shared/stacks-esm-hkw1kvd4.js";
|
|
8
8
|
import"../../shared/stacks-esm-a20wyky3.js";
|
|
9
|
-
import"../../shared/stacks-esm-
|
|
10
|
-
import"../../shared/stacks-esm-
|
|
9
|
+
import"../../shared/stacks-esm-p3zypwsw.js";
|
|
10
|
+
import"../../shared/stacks-esm-pq0e379d.js";
|
|
11
11
|
import"../../shared/stacks-esm-tdrdye4y.js";
|
|
12
12
|
import"../../shared/stacks-esm-8f5catbf.js";
|
|
13
13
|
import {
|
|
14
14
|
Pc2
|
|
15
|
-
} from "../../shared/stacks-esm-
|
|
15
|
+
} from "../../shared/stacks-esm-1b2rhv6y.js";
|
|
16
16
|
import {
|
|
17
17
|
getContract2,
|
|
18
18
|
resolveNetworkContract,
|
|
19
19
|
ContractResponseError2
|
|
20
|
-
} from "../../shared/stacks-esm-
|
|
21
|
-
import"../../shared/stacks-esm-
|
|
20
|
+
} from "../../shared/stacks-esm-7n5wd5md.js";
|
|
21
|
+
import"../../shared/stacks-esm-xcd4sv1h.js";
|
|
22
22
|
import"../../shared/stacks-esm-0pc6tmf0.js";
|
|
23
23
|
|
|
24
24
|
// src/bns/abi.ts
|
package/dist/src/index.cjs
CHANGED
|
@@ -2290,7 +2290,19 @@ function deserializePostConditionWire(input) {
|
|
|
2290
2290
|
}
|
|
2291
2291
|
function deserializeTransaction(input, meta) {
|
|
2292
2292
|
const bytes = typeof input === "string" ? hexToBytes(without0x(input)) : input;
|
|
2293
|
+
return readTransaction(new BytesReader(bytes), meta);
|
|
2294
|
+
}
|
|
2295
|
+
function splitTransactions(bytes, count) {
|
|
2293
2296
|
const r = new BytesReader(bytes);
|
|
2297
|
+
const out = [];
|
|
2298
|
+
for (let i = 0;i < count; i++) {
|
|
2299
|
+
const start = r.offset;
|
|
2300
|
+
readTransaction(r);
|
|
2301
|
+
out.push(bytes.subarray(start, r.offset));
|
|
2302
|
+
}
|
|
2303
|
+
return out;
|
|
2304
|
+
}
|
|
2305
|
+
function readTransaction(r, meta) {
|
|
2294
2306
|
const tx = {
|
|
2295
2307
|
version: r.readUInt8(),
|
|
2296
2308
|
chainId: r.readUInt32BE(),
|
|
@@ -4589,5 +4601,5 @@ function parseStx(stx) {
|
|
|
4589
4601
|
return parseUnits(stx, 6);
|
|
4590
4602
|
}
|
|
4591
4603
|
|
|
4592
|
-
//# debugId=
|
|
4604
|
+
//# debugId=323CD9704C27481A64756E2164756E21
|
|
4593
4605
|
//# sourceMappingURL=index.cjs.map
|