atomicassets
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -23,3 +23,4 @@ "use strict"; | ||
else { | ||
this.fetchBuiltin = global.fetch; | ||
// @ts-ignore | ||
this.fetchBuiltin = window.fetch; | ||
} | ||
@@ -26,0 +27,0 @@ this.queue = new Queue_1.default(this, args.rateLimit); |
@@ -10,13 +10,7 @@ import { ISchema } from "../../Schema"; | ||
format(): Promise<ISchema>; | ||
rawFormat(): Promise<{ | ||
name: string; | ||
type: string; | ||
}[]>; | ||
rawFormat(): Promise<import("./Cache").SchemeFormat>; | ||
toObject(): Promise<{ | ||
scheme_name: string; | ||
format: { | ||
name: string; | ||
type: string; | ||
}[]; | ||
format: import("./Cache").SchemeFormat; | ||
}>; | ||
} |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ParserTypes = exports.serialize = exports.deserialize = exports.ObjectSchema = exports.ExplorerApi = exports.RpcApi = void 0; | ||
const Explorer_1 = __importDefault(require("./API/Explorer")); | ||
@@ -12,7 +13,7 @@ exports.ExplorerApi = Explorer_1.default; | ||
const Schema_1 = require("./Schema"); | ||
exports.ObjectSchema = Schema_1.ObjectSchema; | ||
Object.defineProperty(exports, "ObjectSchema", { enumerable: true, get: function () { return Schema_1.ObjectSchema; } }); | ||
const Serialization_1 = require("./Serialization"); | ||
exports.deserialize = Serialization_1.deserialize; | ||
exports.serialize = Serialization_1.serialize; | ||
Object.defineProperty(exports, "deserialize", { enumerable: true, get: function () { return Serialization_1.deserialize; } }); | ||
Object.defineProperty(exports, "serialize", { enumerable: true, get: function () { return Serialization_1.serialize; } }); | ||
const Types_1 = require("./Serialization/Types"); | ||
exports.ParserTypes = Types_1.ParserTypes; | ||
Object.defineProperty(exports, "ParserTypes", { enumerable: true, get: function () { return Types_1.ParserTypes; } }); |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ObjectSchema = void 0; | ||
const SchemaError_1 = __importDefault(require("../Errors/SchemaError")); | ||
@@ -8,0 +9,0 @@ const MappingSchema_1 = __importDefault(require("./MappingSchema")); |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.byte_vector_to_int = exports.int_to_byte_vector = exports.concat_byte_arrays = exports.hex_encode = exports.hex_decode = exports.base58_encode = exports.base58_decode = exports.zigzag_decode = exports.zigzag_encode = exports.integer_unsign = exports.integer_sign = exports.varint_decode = exports.varint_encode = void 0; | ||
const DeserializationError_1 = __importDefault(require("../Errors/DeserializationError")); | ||
@@ -8,0 +9,0 @@ const SerializationError_1 = __importDefault(require("../Errors/SerializationError")); |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.deserialize = exports.serialize = void 0; | ||
const MappingSchema_1 = __importDefault(require("../Schema/MappingSchema")); | ||
@@ -8,0 +9,0 @@ const Binary_1 = require("./Binary"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.prepare = void 0; | ||
class SerializationState { | ||
@@ -4,0 +5,0 @@ constructor(data, position = 0) { |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ByteParser = void 0; | ||
const VariableParser_1 = __importDefault(require("./VariableParser")); | ||
@@ -8,0 +9,0 @@ class ByteParser extends VariableParser_1.default { |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ParserTypes = void 0; | ||
const BooleanParser_1 = __importDefault(require("./TypeParser/BooleanParser")); | ||
@@ -8,0 +9,0 @@ const ByteParser_1 = require("./TypeParser/ByteParser"); |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"main": "build/index.js", | ||
@@ -18,4 +18,4 @@ "types": "build/index.d.ts", | ||
"scripts": { | ||
"build-npm": "tsc", | ||
"build-web": "webpack --config webpack.prod.js", | ||
"build:npm": "tsc", | ||
"build:web": "webpack --config webpack.prod.js", | ||
"lint": "tslint -p tsconfig.json", | ||
@@ -25,19 +25,19 @@ "test": "mocha -r ts-node/register test/**/*.test.ts" | ||
"dependencies": { | ||
"big-integer": "~1.6.48" | ||
"big-integer": "^1.6.48" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "~12.0.8", | ||
"@types/mocha": "^5.2.7", | ||
"@types/chai": "^4.2.3", | ||
"ts-loader": "~6.1.0", | ||
"ts-node": "~8.3.0", | ||
"tslint": "~5.20.0", | ||
"tslint-config-prettier": "~1.18.0", | ||
"typescript": "~3.5.2", | ||
"@types/node": "^14.0.1", | ||
"@types/mocha": "^7.0.2", | ||
"@types/chai": "^4.2.11", | ||
"ts-loader": "^7.0.4", | ||
"ts-node": "^8.10.1", | ||
"tslint": "^5.20.1", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^3.9.2", | ||
"chai": "^4.2.0", | ||
"mocha": "^6.2.0", | ||
"webpack": "~4.40.3", | ||
"webpack-cli": "~3.3.9", | ||
"node-fetch": "~2.6.0" | ||
"mocha": "^7.1.2", | ||
"webpack": "^4.43.0", | ||
"webpack-cli": "^3.3.11", | ||
"node-fetch": "^2.6.0" | ||
} | ||
} |
{ | ||
"compilerOptions": { | ||
"target": "esnext", | ||
"target": "es2020", | ||
"module": "commonjs", | ||
@@ -5,0 +5,0 @@ "declaration": true, |
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"target": "es2017", | ||
"module": "commonjs", | ||
@@ -5,0 +5,0 @@ "outDir": "./dist", |
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
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
130203
82
2956
Updatedbig-integer@^1.6.48