@zebec-network/zebec-stake-sdk 1.1.0 → 1.1.2
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/constants.d.ts +0 -1
- package/dist/constants.js +1 -8
- package/package.json +5 -5
package/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ASSOCIATED_TOKEN_PROGRAM_ID = exports.TOKEN_PROGRAM_ID = exports.TEN_BIGNUM = exports.ZBCN = exports.ZEBEC_STAKE_PROGRAM =
|
|
3
|
+
exports.ASSOCIATED_TOKEN_PROGRAM_ID = exports.TOKEN_PROGRAM_ID = exports.TEN_BIGNUM = exports.ZBCN = exports.ZEBEC_STAKE_PROGRAM = void 0;
|
|
7
4
|
const bignumber_js_1 = require("bignumber.js");
|
|
8
|
-
const dotenv_1 = __importDefault(require("dotenv"));
|
|
9
5
|
const anchor_1 = require("@coral-xyz/anchor");
|
|
10
6
|
const web3_js_1 = require("@solana/web3.js");
|
|
11
|
-
dotenv_1.default.config();
|
|
12
|
-
const SDK_ENV = process.env.SDK_ENV ?? "production";
|
|
13
|
-
exports.isSdkEnvDev = SDK_ENV === "development";
|
|
14
7
|
/**
|
|
15
8
|
* Zebec Card Program Ids
|
|
16
9
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zebec-network/zebec-stake-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "An SDK for zebec network stake solana program",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@coral-xyz/anchor": "^0.31.1",
|
|
29
29
|
"@solana/web3.js": "1.98.2",
|
|
30
|
-
"@zebec-network/core-utils": "^1.0
|
|
31
|
-
"@zebec-network/solana-common": "1.
|
|
30
|
+
"@zebec-network/core-utils": "^1.1.0",
|
|
31
|
+
"@zebec-network/solana-common": "^1.7.0",
|
|
32
32
|
"bignumber.js": "^9.3.0",
|
|
33
|
-
"buffer": "^6.0.3"
|
|
34
|
-
"dotenv": "^16.5.0"
|
|
33
|
+
"buffer": "^6.0.3"
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
37
36
|
"@types/bn.js": "^5.1.6",
|
|
38
37
|
"@types/mocha": "^10.0.10",
|
|
39
38
|
"@types/node": "^22.14.1",
|
|
39
|
+
"dotenv": "^17.2.0",
|
|
40
40
|
"mocha": "^11.1.0",
|
|
41
41
|
"prettier": "^3.5.3",
|
|
42
42
|
"rimraf": "^6.0.1",
|