@xandeum/web3.js 1.3.1 → 1.3.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.
- package/dist/const.d.ts +1 -2
- package/dist/const.js +2 -3
- package/dist/helpers.js +1 -1
- package/package.json +1 -1
- package/src/const.ts +1 -3
- package/src/helpers.ts +2 -2
package/dist/const.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export declare const programId = "
|
|
2
|
-
export declare const stoincProgramId = "EaLDF7m76kzvrpeADHVHPLfk5qpPaPxYUYqYApByLp1S";
|
|
1
|
+
export declare const programId = "EaLDF7m76kzvrpeADHVHPLfk5qpPaPxYUYqYApByLp1S";
|
package/dist/const.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.programId = "
|
|
5
|
-
exports.stoincProgramId = "EaLDF7m76kzvrpeADHVHPLfk5qpPaPxYUYqYApByLp1S";
|
|
3
|
+
exports.programId = void 0;
|
|
4
|
+
exports.programId = "EaLDF7m76kzvrpeADHVHPLfk5qpPaPxYUYqYApByLp1S";
|
package/dist/helpers.js
CHANGED
|
@@ -75,6 +75,6 @@ function getFeeDistributorPda() {
|
|
|
75
75
|
var _a = web3_js_1.PublicKey.findProgramAddressSync([
|
|
76
76
|
Buffer.from(exports.FEE_DISTRIBUTOR_SEED, 'utf-8'),
|
|
77
77
|
yugaBuffer
|
|
78
|
-
], new web3_js_1.PublicKey(const_1.
|
|
78
|
+
], new web3_js_1.PublicKey(const_1.programId)), pda = _a[0], bump = _a[1];
|
|
79
79
|
return { pda: pda, bump: bump };
|
|
80
80
|
}
|
package/package.json
CHANGED
package/src/const.ts
CHANGED
package/src/helpers.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js'
|
|
2
|
-
import {
|
|
2
|
+
import { programId } from './const'
|
|
3
3
|
import BN from 'bn.js'
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -78,7 +78,7 @@ export function getFeeDistributorPda(): { pda: PublicKey; bump: number } {
|
|
|
78
78
|
Buffer.from(FEE_DISTRIBUTOR_SEED, 'utf-8'),
|
|
79
79
|
yugaBuffer
|
|
80
80
|
],
|
|
81
|
-
new PublicKey(
|
|
81
|
+
new PublicKey(programId)
|
|
82
82
|
)
|
|
83
83
|
|
|
84
84
|
return { pda, bump }
|