scrypt-ts
Advanced tools
Comparing version 0.1.5-beta.6 to 0.1.5-beta.7
# CHANGELOG | ||
## 0.1.5-beta.6 | ||
- rename fields in `ScriptContext` to be more friendly | ||
## 0.1.5-beta.5 | ||
- update transpiler to popup more friendly error messages | ||
- support `HashedMap` and `HashedSet` | ||
## 0.1.5-beta.4 | ||
- disallow type `string` and `String` used in `@prop` | ||
- implement `assert(condition: any, msg?: string)` | ||
## 0.1.5-beta.2 | ||
@@ -4,0 +18,0 @@ |
@@ -1,10 +0,14 @@ | ||
import { prop, method } from './decorators'; | ||
import { SmartContract, TxOutputRef, TxInputRef } from './contract'; | ||
import { bsv } from 'scryptlib'; | ||
import { SmartContractLib } from './library'; | ||
export * from './builtins/types'; | ||
export * from './builtins/functions'; | ||
export * from './utils'; | ||
import { prop, method } from './smart-contract/decorators'; | ||
import { SmartContract, TxOutputRef, TxInputRef } from './smart-contract/contract'; | ||
import { SmartContractLib } from './smart-contract/library'; | ||
export * from './smart-contract/builtins/types'; | ||
export * from './smart-contract/builtins/functions'; | ||
export * from './bsv/utils'; | ||
export * from './transformation/utils'; | ||
export { prop, method, SmartContract, SmartContractLib, TxOutputRef, TxInputRef }; | ||
export declare type UTXO = bsv.Transaction.IUnspentOutput; | ||
export { bsv, toHex, buildPublicKeyHashScript, buildOpreturnScript, ContractArtifact, TxContext, VerifyResult, FunctionCall } from 'scryptlib'; | ||
export * from './bsv/types'; | ||
export { WhatsonchainProvider } from './bsv/providers/whatsonchain-provider'; | ||
export { SensiletProvider } from './bsv/providers/sensilet-provider'; | ||
export * from './bsv/abstract-signer'; | ||
export { TestWallet } from './bsv/wallets/test-wallet'; |
@@ -17,13 +17,14 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FunctionCall = exports.buildOpreturnScript = exports.buildPublicKeyHashScript = exports.toHex = exports.bsv = exports.SmartContractLib = exports.SmartContract = exports.method = exports.prop = void 0; | ||
const decorators_1 = require("./decorators"); | ||
exports.TestWallet = exports.SensiletProvider = exports.WhatsonchainProvider = exports.FunctionCall = exports.buildOpreturnScript = exports.buildPublicKeyHashScript = exports.toHex = exports.bsv = exports.SmartContractLib = exports.SmartContract = exports.method = exports.prop = void 0; | ||
const decorators_1 = require("./smart-contract/decorators"); | ||
Object.defineProperty(exports, "prop", { enumerable: true, get: function () { return decorators_1.prop; } }); | ||
Object.defineProperty(exports, "method", { enumerable: true, get: function () { return decorators_1.method; } }); | ||
const contract_1 = require("./contract"); | ||
const contract_1 = require("./smart-contract/contract"); | ||
Object.defineProperty(exports, "SmartContract", { enumerable: true, get: function () { return contract_1.SmartContract; } }); | ||
const library_1 = require("./library"); | ||
const library_1 = require("./smart-contract/library"); | ||
Object.defineProperty(exports, "SmartContractLib", { enumerable: true, get: function () { return library_1.SmartContractLib; } }); | ||
__exportStar(require("./builtins/types"), exports); | ||
__exportStar(require("./builtins/functions"), exports); | ||
__exportStar(require("./utils"), exports); | ||
__exportStar(require("./smart-contract/builtins/types"), exports); | ||
__exportStar(require("./smart-contract/builtins/functions"), exports); | ||
__exportStar(require("./bsv/utils"), exports); | ||
__exportStar(require("./transformation/utils"), exports); | ||
var scryptlib_1 = require("scryptlib"); | ||
@@ -35,2 +36,12 @@ Object.defineProperty(exports, "bsv", { enumerable: true, get: function () { return scryptlib_1.bsv; } }); | ||
Object.defineProperty(exports, "FunctionCall", { enumerable: true, get: function () { return scryptlib_1.FunctionCall; } }); | ||
__exportStar(require("./bsv/types"), exports); | ||
/* export Providers */ | ||
var whatsonchain_provider_1 = require("./bsv/providers/whatsonchain-provider"); | ||
Object.defineProperty(exports, "WhatsonchainProvider", { enumerable: true, get: function () { return whatsonchain_provider_1.WhatsonchainProvider; } }); | ||
var sensilet_provider_1 = require("./bsv/providers/sensilet-provider"); | ||
Object.defineProperty(exports, "SensiletProvider", { enumerable: true, get: function () { return sensilet_provider_1.SensiletProvider; } }); | ||
/* export Wallets */ | ||
__exportStar(require("./bsv/abstract-signer"), exports); | ||
var test_wallet_1 = require("./bsv/wallets/test-wallet"); | ||
Object.defineProperty(exports, "TestWallet", { enumerable: true, get: function () { return test_wallet_1.TestWallet; } }); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "scrypt-ts", | ||
"version": "0.1.5-beta.6", | ||
"version": "0.1.5-beta.7", | ||
"description": "A toolset for building sCrypt smart contract applications on Bitcoin SV network written in typescript.", | ||
@@ -29,2 +29,4 @@ "main": "dist/index.js", | ||
"@types/chai": "^4.3.4", | ||
"@types/chai-as-promised": "^7.1.5", | ||
"@types/clone": "^2.1.1", | ||
"@types/lodash.clonedeep": "^4.5.7", | ||
@@ -37,2 +39,3 @@ "@types/mocha": "^10.0.0", | ||
"chai-exclude": "^2.1.0", | ||
"chai-as-promised": "^7.1.1", | ||
"cross-env": "^7.0.3", | ||
@@ -52,5 +55,5 @@ "dotenv": "^16.0.3", | ||
"fast-diff": "^1.2.0", | ||
"lodash.clonedeep": "^4.5.0", | ||
"clone": "^2.1.2", | ||
"reflect-metadata": "^0.1.13", | ||
"scryptlib": "=2.0.3", | ||
"scryptlib": "=2.0.4", | ||
"sourcemap-codec": "^1.4.8", | ||
@@ -57,0 +60,0 @@ "ts-patch": "^2.0.2", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
271313
41
5951
21
1
+ Addedclone@^2.1.2
+ Addedclone@2.1.2(transitive)
- Removedlodash.clonedeep@^4.5.0
- Removedlodash.clonedeep@4.5.0(transitive)
Updatedscryptlib@=2.0.4