@secondlayer/stacks 6.6.1 → 7.1.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-0t9vwtwh.js → stacks-esm-m5cf2pgd.js} +3 -3
- package/dist/shared/{stacks-esm-0t9vwtwh.js.map → stacks-esm-m5cf2pgd.js.map} +2 -2
- package/dist/shared/{stacks-esm-m8ph0bvw.js → stacks-esm-mqa4kfwy.js} +2 -2
- package/dist/shared/{stacks-esm-1f46cr7b.js → stacks-esm-t693pnqz.js} +3 -3
- package/dist/shared/{stacks-esm-wjg9aer9.js → stacks-esm-xd1mydkh.js} +8 -6
- package/dist/shared/{stacks-esm-wjg9aer9.js.map → stacks-esm-xd1mydkh.js.map} +3 -3
- package/dist/src/actions/index.cjs +7 -4
- package/dist/src/actions/index.cjs.map +4 -4
- package/dist/src/actions/index.d.cts +6 -0
- package/dist/src/actions/index.d.ts +6 -0
- package/dist/src/actions/index.js +4 -4
- package/dist/src/bns/index.cjs +7 -4
- package/dist/src/bns/index.cjs.map +3 -3
- package/dist/src/bns/index.js +3 -3
- package/dist/src/filters/index.d.cts +2 -2
- package/dist/src/filters/index.d.ts +2 -2
- package/dist/src/index.cjs +7 -4
- package/dist/src/index.cjs.map +5 -5
- package/dist/src/index.d.cts +14 -2
- package/dist/src/index.d.ts +14 -2
- package/dist/src/index.js +3 -3
- package/dist/src/index.js.map +2 -2
- package/dist/src/pox/index.cjs +7 -4
- package/dist/src/pox/index.cjs.map +3 -3
- package/dist/src/pox/index.js +3 -3
- package/dist/src/pox5/index.cjs +7 -4
- package/dist/src/pox5/index.cjs.map +3 -3
- package/dist/src/pox5/index.js +3 -3
- package/dist/src/sbtc/index.cjs +7 -4
- package/dist/src/sbtc/index.cjs.map +3 -3
- package/dist/src/sbtc/index.js +3 -3
- package/dist/src/stackingdao/index.cjs +7 -4
- package/dist/src/stackingdao/index.cjs.map +3 -3
- package/dist/src/stackingdao/index.js +3 -3
- package/dist/src/transactions/index.cjs +7 -4
- package/dist/src/transactions/index.cjs.map +3 -3
- package/dist/src/transactions/index.d.cts +6 -0
- package/dist/src/transactions/index.d.ts +6 -0
- package/dist/src/transactions/index.js +1 -1
- package/package.json +1 -1
- /package/dist/shared/{stacks-esm-m8ph0bvw.js.map → stacks-esm-mqa4kfwy.js.map} +0 -0
- /package/dist/shared/{stacks-esm-1f46cr7b.js.map → stacks-esm-t693pnqz.js.map} +0 -0
package/dist/src/pox5/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import"../../shared/stacks-esm-h60faj2n.js";
|
|
13
13
|
import"../../shared/stacks-esm-4rjjsz3p.js";
|
|
14
14
|
import"../../shared/stacks-esm-2z40q8gs.js";
|
|
15
|
-
import"../../shared/stacks-esm-
|
|
15
|
+
import"../../shared/stacks-esm-xd1mydkh.js";
|
|
16
16
|
import {
|
|
17
17
|
parseBitcoinTx2,
|
|
18
18
|
stripWitness2,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "../../shared/stacks-esm-51sysw9g.js";
|
|
36
36
|
import {
|
|
37
37
|
getContract2
|
|
38
|
-
} from "../../shared/stacks-esm-
|
|
38
|
+
} from "../../shared/stacks-esm-t693pnqz.js";
|
|
39
39
|
import {
|
|
40
40
|
getBalance2,
|
|
41
41
|
getDataVar2,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "../../shared/stacks-esm-brtqryjb.js";
|
|
44
44
|
import {
|
|
45
45
|
getMapEntry2
|
|
46
|
-
} from "../../shared/stacks-esm-
|
|
46
|
+
} from "../../shared/stacks-esm-mqa4kfwy.js";
|
|
47
47
|
import"../../shared/stacks-esm-mqhwqhq4.js";
|
|
48
48
|
|
|
49
49
|
// src/pox5/constants.ts
|
package/dist/src/sbtc/index.cjs
CHANGED
|
@@ -2355,7 +2355,6 @@ function buildContractDeploy(options) {
|
|
|
2355
2355
|
const fee = intToBigInt(options.fee);
|
|
2356
2356
|
const nonce = intToBigInt(options.nonce);
|
|
2357
2357
|
const spendingCondition = resolveSpendingCondition(options, nonce, fee);
|
|
2358
|
-
const clarityVersion = options.clarityVersion ?? ClarityVersion.Clarity4;
|
|
2359
2358
|
const tx = {
|
|
2360
2359
|
version,
|
|
2361
2360
|
chainId,
|
|
@@ -2363,9 +2362,13 @@ function buildContractDeploy(options) {
|
|
|
2363
2362
|
anchorMode: AnchorMode.Any,
|
|
2364
2363
|
postConditionMode: resolvePcMode(options.postConditionMode),
|
|
2365
2364
|
postConditions: convertPostConditions(options.postConditions),
|
|
2366
|
-
payload: {
|
|
2365
|
+
payload: options.clarityVersion === undefined ? {
|
|
2366
|
+
payloadType: PayloadType.SmartContract,
|
|
2367
|
+
contractName: options.contractName,
|
|
2368
|
+
codeBody: options.codeBody
|
|
2369
|
+
} : {
|
|
2367
2370
|
payloadType: PayloadType.VersionedSmartContract,
|
|
2368
|
-
clarityVersion,
|
|
2371
|
+
clarityVersion: options.clarityVersion,
|
|
2369
2372
|
contractName: options.contractName,
|
|
2370
2373
|
codeBody: options.codeBody
|
|
2371
2374
|
}
|
|
@@ -4158,5 +4161,5 @@ function sbtc() {
|
|
|
4158
4161
|
});
|
|
4159
4162
|
}
|
|
4160
4163
|
|
|
4161
|
-
//# debugId=
|
|
4164
|
+
//# debugId=44771F997DBCF26C64756E2164756E21
|
|
4162
4165
|
//# sourceMappingURL=index.cjs.map
|