@proofchain/sdk 2.11.1 → 2.12.0
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/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -879,7 +879,7 @@ var WalletClient = class {
|
|
|
879
879
|
/**
|
|
880
880
|
* Bulk create dual wallets for multiple users
|
|
881
881
|
*/
|
|
882
|
-
async createDualBulk(userIds, network = "base-
|
|
882
|
+
async createDualBulk(userIds, network = "base-mainnet") {
|
|
883
883
|
return this.http.post("/wallets/dual/bulk", {
|
|
884
884
|
user_ids: userIds,
|
|
885
885
|
network
|
|
@@ -1274,7 +1274,7 @@ var EndUsersClient = class {
|
|
|
1274
1274
|
* const result = await client.users.ensureWallet('user-123', 'base-mainnet');
|
|
1275
1275
|
* ```
|
|
1276
1276
|
*/
|
|
1277
|
-
async ensureWallet(externalId, network = "base-
|
|
1277
|
+
async ensureWallet(externalId, network = "base-mainnet") {
|
|
1278
1278
|
const existingWallets = await this.http.get(
|
|
1279
1279
|
`/wallets/user/${encodeURIComponent(externalId)}`
|
|
1280
1280
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -825,7 +825,7 @@ var WalletClient = class {
|
|
|
825
825
|
/**
|
|
826
826
|
* Bulk create dual wallets for multiple users
|
|
827
827
|
*/
|
|
828
|
-
async createDualBulk(userIds, network = "base-
|
|
828
|
+
async createDualBulk(userIds, network = "base-mainnet") {
|
|
829
829
|
return this.http.post("/wallets/dual/bulk", {
|
|
830
830
|
user_ids: userIds,
|
|
831
831
|
network
|
|
@@ -1220,7 +1220,7 @@ var EndUsersClient = class {
|
|
|
1220
1220
|
* const result = await client.users.ensureWallet('user-123', 'base-mainnet');
|
|
1221
1221
|
* ```
|
|
1222
1222
|
*/
|
|
1223
|
-
async ensureWallet(externalId, network = "base-
|
|
1223
|
+
async ensureWallet(externalId, network = "base-mainnet") {
|
|
1224
1224
|
const existingWallets = await this.http.get(
|
|
1225
1225
|
`/wallets/user/${encodeURIComponent(externalId)}`
|
|
1226
1226
|
);
|
package/package.json
CHANGED