New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@imtbl/core-sdk

Package Overview
Dependencies
Maintainers
12
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@imtbl/core-sdk - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1-alpha.1

0

dist/hardhat.config.d.ts

@@ -0,0 +0,0 @@ import { HardhatUserConfig } from 'hardhat/config';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

2

dist/src/api/models/get-signable-cancel-order-request.d.ts

@@ -23,3 +23,3 @@ /**

*/
'order_id'?: number;
'order_id': number;
}

@@ -36,3 +36,3 @@ /**

*/
'order_id'?: number;
'order_id': number;
/**

@@ -39,0 +39,0 @@ * Ethereum address of the submitting user

@@ -0,0 +0,0 @@ export * from './add-metadata-schema-to-collection-request';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import type * as token from "./token";

@@ -0,0 +0,0 @@ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";

@@ -0,0 +0,0 @@ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";

@@ -0,0 +0,0 @@ import type * as erc20 from "./ERC20";

import type * as introspection from "./introspection";
export type { introspection };

@@ -0,0 +0,0 @@ import type { BaseContract, BigNumber, BytesLike, CallOverrides, PopulatedTransaction, Signer, utils } from "ethers";

import type * as contracts from "./contracts";
export type { contracts };

@@ -0,0 +0,0 @@ import type { Listener } from "@ethersproject/providers";

export type { Core } from "./Core";
export type { Registration } from "./Registration";

@@ -0,0 +0,0 @@ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";

export * as token from "./token";
export * as utils from "./utils";
export { IERC20__factory } from "./IERC20__factory";
export { IERC721__factory } from "./IERC721__factory";
export * as erc20 from "./ERC20";
export * as erc721 from "./ERC721";
export * as introspection from "./introspection";
export * as contracts from "./contracts";

@@ -0,0 +0,0 @@ import { Signer } from "ethers";

export { Core__factory } from "./Core__factory";
export { Registration__factory } from "./Registration__factory";

@@ -0,0 +0,0 @@ import { Signer, ContractFactory, Overrides } from "ethers";

export * as openzeppelin from "./@openzeppelin";
export * as contracts from "./contracts";

@@ -0,0 +0,0 @@ import type * as openzeppelin from "./@openzeppelin";

@@ -0,0 +0,0 @@ export * from './api';

@@ -0,0 +0,0 @@ import { TokenType } from './token';

@@ -0,0 +0,0 @@ import { ec } from 'elliptic';

@@ -0,0 +0,0 @@ import { TokenPrepareWithdrawal } from './withdrawal';

@@ -0,0 +0,0 @@ export declare enum TokenType {

@@ -0,0 +0,0 @@ import { TokenType } from './token';

import { ConfigurationParameters } from '../api';
import { Config, EthNetwork } from '../types';
export declare const getConfig: (network?: EthNetwork, apiConfigOptions?: ConfigurationParameters) => Config;

@@ -0,0 +0,0 @@ import BN from 'bn.js';

@@ -0,0 +0,0 @@ import BN from 'bn.js';

@@ -0,0 +0,0 @@ export * from './config';

export declare const constantPointsHex: string[][];

@@ -0,0 +0,0 @@ import { ec } from 'elliptic';

@@ -0,0 +0,0 @@ import { ec } from 'elliptic';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

export declare enum BurnAddress {
BurnEthAddress = "0x0000000000000000000000000000000000000000"
}

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

export * from './depositEth';
export * from './depositERC20';
export * from './depositERC721';
export declare enum Errors {
StarkCurveInvalidMessageLength = "invalid message length"
}
export * from './workflows';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

@@ -0,0 +0,0 @@ import { SignableToken } from '../api';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

import { EncodeAssetRequestTokenTypeEnum, EncodeAssetResponse, EncodingApi } from '../../api';
export declare function getEncodeAssetInfo(assetType: string, tokenType: EncodeAssetRequestTokenTypeEnum, encodingApi: EncodingApi, tokenData?: any): Promise<EncodeAssetResponse>;

@@ -0,0 +0,0 @@ export * from './prepareWithdrawal';

@@ -0,0 +0,0 @@ import { Signer } from '@ethersproject/abstract-signer';

@@ -0,0 +0,0 @@ import { TransfersApiGetTransferRequest, GetSignableOrderRequest, GetSignableCancelOrderRequest, GetSignableTradeRequest } from '../api';

{
"name": "@imtbl/core-sdk",
"version": "0.2.0",
"version": "0.2.1-alpha.1",
"description": "Immutable Core SDK",

@@ -22,2 +22,3 @@ "main": "dist/index.cjs.js",

"release": "release-it",
"typecheck": "tsc --noEmit",
"lint": "eslint ./src/utils/** ./src/workflows/**",

@@ -41,2 +42,3 @@ "lint-fix": "eslint ./src/utils/** ./src/workflows/** --fix"

"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-typescript": "^8.3.2",
"@typechain/ethers-v5": "^10.0.0",

@@ -60,3 +62,2 @@ "@typechain/hardhat": "^6.0.0",

"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"ts-jest": "^27.1.4",

@@ -63,0 +64,0 @@ "ts-node": "^10.7.0",

<div align="center">
<br>
<br>
<a href="https://docs.x.immutable.com/docs">
<img src="images/imx-logo.png">
</a>
<br>
<br>
<p align="center">
<a href="https://docs.x.immutable.com/docs">
<img src="https://cdn.dribbble.com/users/1299339/screenshots/7133657/media/837237d447d36581ebd59ec36d30daea.gif" width="280"/>
</a>
</p>
</div>

@@ -321,5 +319,5 @@

```json
...
"version": "0.3.0",
...
```

@@ -357,1 +355,8 @@

[Contact support](https://support.immutable.com/hc/en-us/requests/new)
## Webpack 5
Webpack 5 no longer uses NodeJS polyfills, such as `crypto`, which in turn breaks the Core SDK resulting in errors such as
`Module not found: Error: Can't resolve 'crypto'`.
To fix this, you can use a webpack polyfill plugin like [node-polyfill-webpack-plugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin), or if you're using `create-react-app` in your project which hides the Webpack config, [this blog post](https://alchemy.com/blog/how-to-polyfill-node-core-modules-in-webpack-5) explains how to add polyfills to your CRA project.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc