emblem-vault-sdk 2.3.4 → 2.3.6

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/bundle.js CHANGED
@@ -711252,6 +711252,30 @@ module.exports={
711252
711252
  "lastPrice": 0,
711253
711253
  "creatorUser": "ChristianBicasso"
711254
711254
  }
711255
+ },
711256
+ "QUARKSCARD": {
711257
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC011app.jpg",
711258
+ "projectName": "Age of Chains"
711259
+ },
711260
+ "SCOUTCARD": {
711261
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC012app.jpg",
711262
+ "projectName": "Age of Chains"
711263
+ },
711264
+ "TRUTHFINDER": {
711265
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC013app.jpg",
711266
+ "projectName": "Age of Chains"
711267
+ },
711268
+ "THERIPPLER": {
711269
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC014app.jpg",
711270
+ "projectName": "Age of Chains"
711271
+ },
711272
+ "XASCENDENCY": {
711273
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC015app.jpg",
711274
+ "projectName": "Age of Chains"
711275
+ },
711276
+ "XANTHRAX": {
711277
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC016app.jpg",
711278
+ "projectName": "Age of Chains"
711255
711279
  }
711256
711280
  }
711257
711281
 
@@ -711421,18 +711445,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
711421
711445
  const bignumber_1 = require("@ethersproject/bignumber");
711422
711446
  const utils_1 = require("./utils");
711423
711447
  const derive_1 = require("./derive");
711424
- const SDK_VERSION = '2.3.4';
711448
+ const SDK_VERSION = '2.3.6';
711425
711449
  class EmblemVaultSDK {
711426
- constructor(apiKey, baseUrl) {
711450
+ constructor(apiKey, baseUrl, v3Url, sigUrl) {
711427
711451
  this.apiKey = apiKey;
711428
711452
  console.log('EmblemVaultSDK version:', SDK_VERSION);
711429
711453
  if (!apiKey) {
711430
711454
  throw new Error('API key is required');
711431
711455
  }
711432
- this.v1Url = 'https://api2.emblemvault.io';
711433
711456
  this.baseUrl = baseUrl || 'https://v2.emblemvault.io';
711434
- this.v3Url = 'https://v3.emblemvault.io';
711435
- this.sigUrl = 'https://tor-us-signer-coval.vercel.app';
711457
+ this.v3Url = v3Url || 'https://v3.emblemvault.io';
711458
+ this.sigUrl = sigUrl || 'https://tor-us-signer-coval.vercel.app';
711436
711459
  }
711437
711460
  // Example method structure
711438
711461
  generateUploadUrl() {
@@ -709189,5 +709189,29 @@
709189
709189
  "lastPrice": 0,
709190
709190
  "creatorUser": "ChristianBicasso"
709191
709191
  }
709192
+ },
709193
+ "QUARKSCARD": {
709194
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC011app.jpg",
709195
+ "projectName": "Age of Chains"
709196
+ },
709197
+ "SCOUTCARD": {
709198
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC012app.jpg",
709199
+ "projectName": "Age of Chains"
709200
+ },
709201
+ "TRUTHFINDER": {
709202
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC013app.jpg",
709203
+ "projectName": "Age of Chains"
709204
+ },
709205
+ "THERIPPLER": {
709206
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC014app.jpg",
709207
+ "projectName": "Age of Chains"
709208
+ },
709209
+ "XASCENDENCY": {
709210
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC015app.jpg",
709211
+ "projectName": "Age of Chains"
709212
+ },
709213
+ "XANTHRAX": {
709214
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC016app.jpg",
709215
+ "projectName": "Age of Chains"
709192
709216
  }
709193
709217
  }
package/dist/index.js CHANGED
@@ -35,18 +35,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
35
35
  const bignumber_1 = require("@ethersproject/bignumber");
36
36
  const utils_1 = require("./utils");
37
37
  const derive_1 = require("./derive");
38
- const SDK_VERSION = '2.3.4';
38
+ const SDK_VERSION = '2.3.6';
39
39
  class EmblemVaultSDK {
40
- constructor(apiKey, baseUrl) {
40
+ constructor(apiKey, baseUrl, v3Url, sigUrl) {
41
41
  this.apiKey = apiKey;
42
42
  console.log('EmblemVaultSDK version:', SDK_VERSION);
43
43
  if (!apiKey) {
44
44
  throw new Error('API key is required');
45
45
  }
46
- this.v1Url = 'https://api2.emblemvault.io';
47
46
  this.baseUrl = baseUrl || 'https://v2.emblemvault.io';
48
- this.v3Url = 'https://v3.emblemvault.io';
49
- this.sigUrl = 'https://tor-us-signer-coval.vercel.app';
47
+ this.v3Url = v3Url || 'https://v3.emblemvault.io';
48
+ this.sigUrl = sigUrl || 'https://tor-us-signer-coval.vercel.app';
50
49
  }
51
50
  // Example method structure
52
51
  generateUploadUrl() {
package/docs/bundle.js CHANGED
@@ -711252,6 +711252,30 @@ module.exports={
711252
711252
  "lastPrice": 0,
711253
711253
  "creatorUser": "ChristianBicasso"
711254
711254
  }
711255
+ },
711256
+ "QUARKSCARD": {
711257
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC011app.jpg",
711258
+ "projectName": "Age of Chains"
711259
+ },
711260
+ "SCOUTCARD": {
711261
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC012app.jpg",
711262
+ "projectName": "Age of Chains"
711263
+ },
711264
+ "TRUTHFINDER": {
711265
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC013app.jpg",
711266
+ "projectName": "Age of Chains"
711267
+ },
711268
+ "THERIPPLER": {
711269
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC014app.jpg",
711270
+ "projectName": "Age of Chains"
711271
+ },
711272
+ "XASCENDENCY": {
711273
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC015app.jpg",
711274
+ "projectName": "Age of Chains"
711275
+ },
711276
+ "XANTHRAX": {
711277
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC016app.jpg",
711278
+ "projectName": "Age of Chains"
711255
711279
  }
711256
711280
  }
711257
711281
 
@@ -711421,18 +711445,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
711421
711445
  const bignumber_1 = require("@ethersproject/bignumber");
711422
711446
  const utils_1 = require("./utils");
711423
711447
  const derive_1 = require("./derive");
711424
- const SDK_VERSION = '2.3.4';
711448
+ const SDK_VERSION = '2.3.6';
711425
711449
  class EmblemVaultSDK {
711426
- constructor(apiKey, baseUrl) {
711450
+ constructor(apiKey, baseUrl, v3Url, sigUrl) {
711427
711451
  this.apiKey = apiKey;
711428
711452
  console.log('EmblemVaultSDK version:', SDK_VERSION);
711429
711453
  if (!apiKey) {
711430
711454
  throw new Error('API key is required');
711431
711455
  }
711432
- this.v1Url = 'https://api2.emblemvault.io';
711433
711456
  this.baseUrl = baseUrl || 'https://v2.emblemvault.io';
711434
- this.v3Url = 'https://v3.emblemvault.io';
711435
- this.sigUrl = 'https://tor-us-signer-coval.vercel.app';
711457
+ this.v3Url = v3Url || 'https://v3.emblemvault.io';
711458
+ this.sigUrl = sigUrl || 'https://tor-us-signer-coval.vercel.app';
711436
711459
  }
711437
711460
  // Example method structure
711438
711461
  generateUploadUrl() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emblem-vault-sdk",
3
- "version": "2.3.4",
3
+ "version": "2.3.6",
4
4
  "description": "Emblem Vault Software Development Kit",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -709189,5 +709189,29 @@
709189
709189
  "lastPrice": 0,
709190
709190
  "creatorUser": "ChristianBicasso"
709191
709191
  }
709192
+ },
709193
+ "QUARKSCARD": {
709194
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC011app.jpg",
709195
+ "projectName": "Age of Chains"
709196
+ },
709197
+ "SCOUTCARD": {
709198
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC012app.jpg",
709199
+ "projectName": "Age of Chains"
709200
+ },
709201
+ "TRUTHFINDER": {
709202
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC013app.jpg",
709203
+ "projectName": "Age of Chains"
709204
+ },
709205
+ "THERIPPLER": {
709206
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC014app.jpg",
709207
+ "projectName": "Age of Chains"
709208
+ },
709209
+ "XASCENDENCY": {
709210
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC015app.jpg",
709211
+ "projectName": "Age of Chains"
709212
+ },
709213
+ "XANTHRAX": {
709214
+ "image": "https://ageofchains.com/wp-content/uploads/visuals/AoC016app.jpg",
709215
+ "projectName": "Age of Chains"
709192
709216
  }
709193
709217
  }
package/src/index.ts CHANGED
@@ -8,17 +8,15 @@ const SDK_VERSION = '__SDK_VERSION__';
8
8
  class EmblemVaultSDK {
9
9
  private baseUrl: string;
10
10
  private v3Url: string;
11
- private v1Url: string;
12
11
  private sigUrl: string;
13
- constructor(private apiKey: string, baseUrl?: string) {
12
+ constructor(private apiKey: string, baseUrl?: string, v3Url?: string, sigUrl?: string) {
14
13
  console.log('EmblemVaultSDK version:', SDK_VERSION)
15
14
  if (!apiKey) {
16
15
  throw new Error('API key is required');
17
16
  }
18
- this.v1Url = 'https://api2.emblemvault.io';
19
17
  this.baseUrl = baseUrl || 'https://v2.emblemvault.io';
20
- this.v3Url = 'https://v3.emblemvault.io';
21
- this.sigUrl = 'https://tor-us-signer-coval.vercel.app';
18
+ this.v3Url = v3Url || 'https://v3.emblemvault.io';
19
+ this.sigUrl = sigUrl || 'https://tor-us-signer-coval.vercel.app';
22
20
  }
23
21
 
24
22
  // Example method structure
package/types/index.d.ts CHANGED
@@ -4,9 +4,8 @@ declare class EmblemVaultSDK {
4
4
  private apiKey;
5
5
  private baseUrl;
6
6
  private v3Url;
7
- private v1Url;
8
7
  private sigUrl;
9
- constructor(apiKey: string, baseUrl?: string);
8
+ constructor(apiKey: string, baseUrl?: string, v3Url?: string, sigUrl?: string);
10
9
  generateUploadUrl(): void;
11
10
  getAssetMetadata(projectName: string, strict?: boolean): any[];
12
11
  getAllAssetMetadata(): any[];