@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/pox/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import"../../shared/stacks-esm-h60faj2n.js";
|
|
|
3
3
|
import"../../shared/stacks-esm-jwgtksgq.js";
|
|
4
4
|
import"../../shared/stacks-esm-4rjjsz3p.js";
|
|
5
5
|
import"../../shared/stacks-esm-2z40q8gs.js";
|
|
6
|
-
import"../../shared/stacks-esm-
|
|
6
|
+
import"../../shared/stacks-esm-xd1mydkh.js";
|
|
7
7
|
import {
|
|
8
8
|
Pc2
|
|
9
9
|
} from "../../shared/stacks-esm-9ptct1c4.js";
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
getContract2,
|
|
20
20
|
resolveNetworkContract
|
|
21
|
-
} from "../../shared/stacks-esm-
|
|
22
|
-
import"../../shared/stacks-esm-
|
|
21
|
+
} from "../../shared/stacks-esm-t693pnqz.js";
|
|
22
|
+
import"../../shared/stacks-esm-mqa4kfwy.js";
|
|
23
23
|
import"../../shared/stacks-esm-mqhwqhq4.js";
|
|
24
24
|
|
|
25
25
|
// src/pox/abi.ts
|
package/dist/src/pox5/index.cjs
CHANGED
|
@@ -2691,7 +2691,6 @@ function buildContractDeploy(options) {
|
|
|
2691
2691
|
const fee = intToBigInt(options.fee);
|
|
2692
2692
|
const nonce = intToBigInt(options.nonce);
|
|
2693
2693
|
const spendingCondition = resolveSpendingCondition(options, nonce, fee);
|
|
2694
|
-
const clarityVersion = options.clarityVersion ?? ClarityVersion.Clarity4;
|
|
2695
2694
|
const tx = {
|
|
2696
2695
|
version,
|
|
2697
2696
|
chainId,
|
|
@@ -2699,9 +2698,13 @@ function buildContractDeploy(options) {
|
|
|
2699
2698
|
anchorMode: AnchorMode.Any,
|
|
2700
2699
|
postConditionMode: resolvePcMode(options.postConditionMode),
|
|
2701
2700
|
postConditions: convertPostConditions(options.postConditions),
|
|
2702
|
-
payload: {
|
|
2701
|
+
payload: options.clarityVersion === undefined ? {
|
|
2702
|
+
payloadType: PayloadType.SmartContract,
|
|
2703
|
+
contractName: options.contractName,
|
|
2704
|
+
codeBody: options.codeBody
|
|
2705
|
+
} : {
|
|
2703
2706
|
payloadType: PayloadType.VersionedSmartContract,
|
|
2704
|
-
clarityVersion,
|
|
2707
|
+
clarityVersion: options.clarityVersion,
|
|
2705
2708
|
contractName: options.contractName,
|
|
2706
2709
|
codeBody: options.codeBody
|
|
2707
2710
|
}
|
|
@@ -6202,5 +6205,5 @@ function parseSignerCalldata(calldata) {
|
|
|
6202
6205
|
};
|
|
6203
6206
|
}
|
|
6204
6207
|
|
|
6205
|
-
//# debugId=
|
|
6208
|
+
//# debugId=407F72E9E4FF6E6E64756E2164756E21
|
|
6206
6209
|
//# sourceMappingURL=index.cjs.map
|