@imtbl/sdk 0.1.9-alpha.3 → 0.1.9-alpha.4

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.
@@ -16,7 +16,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
16
16
  chainID,
17
17
  coreContractAddress,
18
18
  registrationContractAddress,
19
- sdkVersion: 'ts-immutable-sdk-0.1.9-alpha.3',
19
+ sdkVersion: 'ts-immutable-sdk-0.1.9-alpha.4',
20
20
  });
21
21
  /**
22
22
  * Sets `sdkVersion` at the time of build
package/dist/index.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ var multiRollup = require('@imtbl/generated-clients/dist/multi-rollup');
3
4
  var globalAxios$1 = require('axios');
4
5
  var coreSdk = require('@imtbl/core-sdk');
5
6
  var oidcClientTs = require('oidc-client-ts');
@@ -2258,10 +2259,10 @@ const createAPIConfiguration = ({ basePath, headers: baseHeaders, }) => {
2258
2259
  return new index.Configuration(configParams);
2259
2260
  };
2260
2261
  const production$1 = () => createAPIConfiguration({
2261
- basePath: 'https://indexer-mr.dev.imtbl.com/v1', // TODO update before mainnet release
2262
+ basePath: 'https://indexer-mr.imtbl.com',
2262
2263
  });
2263
2264
  const sandbox$1 = () => createAPIConfiguration({
2264
- basePath: 'https://indexer-mr.dev.imtbl.com/v1', // TODO update before testnet release
2265
+ basePath: 'https://indexer-mr.sandbox.imtbl.com',
2265
2266
  });
2266
2267
  class BlockchainDataConfiguration {
2267
2268
  apiConfig;
@@ -12293,6 +12294,10 @@ class ERC721PermissionedMintable {
12293
12294
  }
12294
12295
  }
12295
12296
 
12297
+ Object.defineProperty(exports, 'ActivityType', {
12298
+ enumerable: true,
12299
+ get: function () { return multiRollup.ActivityType; }
12300
+ });
12296
12301
  Object.defineProperty(exports, 'imxClientCreateStarkSigner', {
12297
12302
  enumerable: true,
12298
12303
  get: function () { return coreSdk.createStarkSigner; }
package/dist/index.d.ts CHANGED
@@ -12742,4 +12742,4 @@ declare class ERC721PermissionedMintable {
12742
12742
  }): Promise<PopulatedTransaction>;
12743
12743
  }
12744
12744
 
12745
- export { APIError, BlockchainData, BlockchainDataModuleConfiguration, ERC20, ERC721PermissionedMintable, Environment, GenericIMXProvider, IMXProvider, ImmutableConfiguration, ImmutableXClient, ImxModuleConfiguration as ImxClientModuleConfiguration, WalletConnection as ImxClientWalletConnection, MetaMaskIMXProvider, ModuleConfiguration, Networks, Orderbook, Passport, PassportError, PassportModuleConfiguration, PassportOverrides, ProviderConfiguration, UserProfile, createStarkSigner as imxClientCreateStarkSigner, generateLegacyStarkPrivateKey as imxClientGenerateLegacyStarkPrivateKey, module };
12745
+ export { APIError, ActivityType, BlockchainData, BlockchainDataModuleConfiguration, ERC20, ERC721PermissionedMintable, Environment, GenericIMXProvider, IMXProvider, ImmutableConfiguration, ImmutableXClient, ImxModuleConfiguration as ImxClientModuleConfiguration, WalletConnection as ImxClientWalletConnection, MetaMaskIMXProvider, ModuleConfiguration, Networks, Orderbook, Passport, PassportError, PassportModuleConfiguration, PassportOverrides, ProviderConfiguration, UserProfile, createStarkSigner as imxClientCreateStarkSigner, generateLegacyStarkPrivateKey as imxClientGenerateLegacyStarkPrivateKey, module };
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export { ActivityType } from '@imtbl/generated-clients/dist/multi-rollup';
1
2
  import globalAxios$1 from 'axios';
2
3
  import { ImmutableX, Config, generateLegacyStarkPrivateKey, createStarkSigner, TransfersApi, OrdersApi as OrdersApi$1, UsersApi, Contracts, TradesApi, ExchangesApi, WithdrawalsApi, MintsApi, DepositsApi, EncodingApi, TokensApi as TokensApi$1 } from '@imtbl/core-sdk';
3
4
  export { createStarkSigner as imxClientCreateStarkSigner, generateLegacyStarkPrivateKey as imxClientGenerateLegacyStarkPrivateKey } from '@imtbl/core-sdk';
@@ -2220,7 +2221,7 @@ class APIError extends Error {
2220
2221
 
2221
2222
  /* eslint-disable implicit-arrow-linebreak */
2222
2223
  const defaultHeaders = {
2223
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.1.9-alpha.3',
2224
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.1.9-alpha.4',
2224
2225
  };
2225
2226
  /**
2226
2227
  * createAPIConfiguration to create a custom Configuration
@@ -2238,10 +2239,10 @@ const createAPIConfiguration = ({ basePath, headers: baseHeaders, }) => {
2238
2239
  return new index.Configuration(configParams);
2239
2240
  };
2240
2241
  const production$1 = () => createAPIConfiguration({
2241
- basePath: 'https://indexer-mr.dev.imtbl.com/v1', // TODO update before mainnet release
2242
+ basePath: 'https://indexer-mr.imtbl.com',
2242
2243
  });
2243
2244
  const sandbox$1 = () => createAPIConfiguration({
2244
- basePath: 'https://indexer-mr.dev.imtbl.com/v1', // TODO update before testnet release
2245
+ basePath: 'https://indexer-mr.sandbox.imtbl.com',
2245
2246
  });
2246
2247
  class BlockchainDataConfiguration {
2247
2248
  apiConfig;
@@ -2486,7 +2487,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
2486
2487
  chainID,
2487
2488
  coreContractAddress,
2488
2489
  registrationContractAddress,
2489
- sdkVersion: 'ts-immutable-sdk-0.1.9-alpha.3',
2490
+ sdkVersion: 'ts-immutable-sdk-0.1.9-alpha.4',
2490
2491
  });
2491
2492
  /**
2492
2493
  * Sets `sdkVersion` at the time of build
package/dist/passport.js CHANGED
@@ -21,7 +21,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
21
21
  chainID,
22
22
  coreContractAddress,
23
23
  registrationContractAddress,
24
- sdkVersion: 'ts-immutable-sdk-0.1.9-alpha.3',
24
+ sdkVersion: 'ts-immutable-sdk-0.1.9-alpha.4',
25
25
  });
26
26
  /**
27
27
  * Sets `sdkVersion` at the time of build
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Unified SDK",
4
- "version": "0.1.9-alpha.3",
4
+ "version": "0.1.9-alpha.4",
5
5
  "author": "Immutable",
6
6
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
7
7
  "dependencies": {