@neuraiproject/neurai-scripts 0.12.0 → 0.13.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/NeuraiScripts.global.js +3 -0
- package/dist/NeuraiScripts.global.js.map +1 -1
- package/dist/browser.js +3 -0
- package/dist/browser.js.map +1 -1
- package/dist/core/opcodes.d.ts +1 -0
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/browser.js
CHANGED
|
@@ -189,6 +189,8 @@ const OP_CHECKSIGADD = 0xde;
|
|
|
189
189
|
// AuthScript only. Stack contract: (c a b T 1 M G role_1 .. role_n n -- 1),
|
|
190
190
|
// failing the script instead of pushing 0. See covenants/asset-auth.
|
|
191
191
|
const OP_CHECKASSETAUTH = 0xdf;
|
|
192
|
+
// NIP-060: verify a compact P-256 signature over SHA-256(message).
|
|
193
|
+
const OP_CHECKSIG_P256 = 0xe0;
|
|
192
194
|
// ---------- Expansion / NOPs ----------
|
|
193
195
|
// Only the NOPs not aliased by DePIN-Test opcodes are exported as NOPs.
|
|
194
196
|
// OP_NOP2 == OP_CHECKLOCKTIMEVERIFY (0xb1)
|
|
@@ -358,6 +360,7 @@ var opcodes = /*#__PURE__*/Object.freeze({
|
|
|
358
360
|
OP_CHECKSIGFROMSTACK: OP_CHECKSIGFROMSTACK,
|
|
359
361
|
OP_CHECKSIGVERIFY: OP_CHECKSIGVERIFY,
|
|
360
362
|
OP_CHECKSIG_ED25519: OP_CHECKSIG_ED25519,
|
|
363
|
+
OP_CHECKSIG_P256: OP_CHECKSIG_P256,
|
|
361
364
|
OP_CHECKTEMPLATEVERIFY: OP_CHECKTEMPLATEVERIFY,
|
|
362
365
|
OP_CODESEPARATOR: OP_CODESEPARATOR,
|
|
363
366
|
OP_DEPTH: OP_DEPTH,
|