@taquito/contracts-library 24.3.0-beta.1 → 24.3.0-beta.3

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.
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReadWrapperContractsLibrary = void 0;
4
+ const bignumber_js_1 = require("bignumber.js");
5
+ const BigNumber = bignumber_js_1.BigNumber;
4
6
  class ReadWrapperContractsLibrary {
5
7
  constructor(readProvider, contractslibrary) {
6
8
  this.readProvider = readProvider;
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT!
5
5
  exports.VERSION = {
6
- "commitHash": "05df48fee92f846cba793920d6fa829afd6a1847",
7
- "version": "24.3.0-beta.1"
6
+ "commitHash": "a312cd3f4fc0ab0fb3351bfffe6ad855772cb077",
7
+ "version": "24.3.0-beta.3"
8
8
  };
@@ -1,5 +1,6 @@
1
1
  import { validateAddress, ValidationResult } from '@taquito/utils';
2
2
  import { ParameterValidationError, InvalidAddressError } from '@taquito/core';
3
+ import 'bignumber.js';
3
4
 
4
5
  /**
5
6
  * @category Error
@@ -1 +1 @@
1
- {"version":3,"file":"taquito-contracts-library.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taquito-contracts-library.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taquito/utils'), require('@taquito/core')) :
3
- typeof define === 'function' && define.amd ? define(['exports', '@taquito/utils', '@taquito/core'], factory) :
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taquito/utils'), require('@taquito/core'), require('bignumber.js')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', '@taquito/utils', '@taquito/core', 'bignumber.js'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.taquitoContractsLibrary = {}, global.utils, global.core));
5
5
  })(this, (function (exports, utils, core) { 'use strict';
6
6
 
@@ -1,3 +1,6 @@
1
+ import { BigNumber as BigNumberJs } from 'bignumber.js';
2
+ type BigNumber = InstanceType<typeof BigNumberJs>;
3
+ declare const BigNumber: typeof import("bignumber.js");
1
4
  import { BlockResponse, EntrypointsResponse, MichelsonV1Expression, SaplingDiffResponse, ScriptedContracts, AILaunchCycleResponse } from '@taquito/rpc';
2
5
  import { ContractsLibrary } from './taquito-contracts-library';
3
6
  import { BigMapQuery, BlockIdentifier, SaplingStateQuery, TzReadProvider } from '@taquito/taquito';
@@ -34,3 +37,4 @@ export declare class ReadWrapperContractsLibrary implements TzReadProvider {
34
37
  getLiveBlocks(block: BlockIdentifier): Promise<string[]>;
35
38
  getAdaptiveIssuanceLaunchCycle(block: BlockIdentifier): Promise<AILaunchCycleResponse>;
36
39
  }
40
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/contracts-library",
3
- "version": "24.3.0-beta.1",
3
+ "version": "24.3.0-beta.3",
4
4
  "description": "Static Michelson scripts and entrypoints library for Taquito contract interactions.",
5
5
  "keywords": [
6
6
  "taquito",
@@ -13,7 +13,6 @@
13
13
  "module": "dist/taquito-contracts-library.es6.js",
14
14
  "typings": "dist/types/taquito-contracts-library.d.ts",
15
15
  "files": [
16
- "signature.json",
17
16
  "dist"
18
17
  ],
19
18
  "author": "ECAD Labs Inc <info@ecadlabs.com>",
@@ -38,9 +37,9 @@
38
37
  "node": ">=22"
39
38
  },
40
39
  "scripts": {
41
- "test": "jest --coverage",
42
- "test:watch": "jest --coverage --watch",
43
- "test:prod": "npm run lint && npm run test -- --no-cache",
40
+ "test": "vitest run --config ./vitest.config.ts",
41
+ "test:watch": "vitest --config ./vitest.config.ts",
42
+ "test:prod": "npm run lint && npm run test",
44
43
  "lint": "eslint --ext .js,.ts .",
45
44
  "precommit": "lint-staged",
46
45
  "prebuild": "rimraf dist",
@@ -54,62 +53,32 @@
54
53
  "eslint --fix"
55
54
  ]
56
55
  },
57
- "jest": {
58
- "transform": {
59
- ".(ts|tsx)": "ts-jest"
60
- },
61
- "testEnvironment": "node",
62
- "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
63
- "moduleFileExtensions": [
64
- "ts",
65
- "tsx",
66
- "js"
67
- ],
68
- "moduleNameMapper": {
69
- "^@taquito/taquito$": "<rootDir>/../taquito/src/taquito.ts",
70
- "^@taquito/rpc$": "<rootDir>/../taquito-rpc/src/taquito-rpc.ts",
71
- "^@taquito/taquito-utils$": "<rootDir>/../taquito-utils/src/taquito-utils.ts",
72
- "^@taquito/taquito-http-utils$": "<rootDir>/../taquito-http-utils/src/taquito-http-utils.ts"
73
- },
74
- "coveragePathIgnorePatterns": [
75
- "/node_modules/",
76
- "/test/"
77
- ],
78
- "collectCoverageFrom": [
79
- "src/**/*.{js,ts}"
80
- ]
81
- },
82
56
  "dependencies": {
83
- "@taquito/core": "^24.3.0-beta.1",
84
- "@taquito/rpc": "^24.3.0-beta.1",
85
- "@taquito/taquito": "^24.3.0-beta.1",
86
- "@taquito/utils": "^24.3.0-beta.1",
87
- "bignumber.js": "^9.1.2"
57
+ "@taquito/core": "^24.3.0-beta.3",
58
+ "@taquito/rpc": "^24.3.0-beta.3",
59
+ "@taquito/taquito": "^24.3.0-beta.3",
60
+ "@taquito/utils": "^24.3.0-beta.3",
61
+ "bignumber.js": "^10.0.2"
88
62
  },
89
63
  "devDependencies": {
90
64
  "@types/bluebird": "^3.5.42",
91
- "@types/jest": "^29.5.12",
92
- "@types/node": "^20",
65
+ "@types/node": "^22.0.0",
93
66
  "@types/superagent": "^8.1.8",
94
67
  "@typescript-eslint/eslint-plugin": "^6.21.0",
95
68
  "@typescript-eslint/parser": "^6.21.0",
96
69
  "colors": "^1.4.0",
97
- "coveralls": "^3.1.1",
98
70
  "cross-env": "^7.0.3",
99
71
  "eslint": "^8.57.0",
100
- "jest": "^29.7.0",
101
- "jest-config": "^29.7.0",
102
72
  "lint-staged": "^15.2.7",
103
73
  "lodash.camelcase": "^4.3.0",
104
74
  "prettier": "^3.3.3",
105
75
  "prompt": "^1.3.0",
106
76
  "replace-in-file": "^8.1.0",
107
77
  "rimraf": "^6.0.1",
108
- "rollup": "^4.59.0",
78
+ "rollup": "^4.60.1",
109
79
  "rollup-plugin-json": "^4.0.0",
110
- "rollup-plugin-typescript2": "^0.36.0",
80
+ "rollup-plugin-typescript2": "^0.37.0",
111
81
  "shelljs": "^0.8.5",
112
- "ts-jest": "^29.2.3",
113
82
  "ts-node": "^10.9.2",
114
83
  "ts-toolbelt": "^9.6.0",
115
84
  "typescript": "^5.9.3"