Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Releases: immutable/imx-core-sdk-swift

v1.0.0-beta.3

15 Feb 22:42
fb72831
Compare
Choose a tag to compare

This SDK has been deprecated. If you're building apps with Immutable, please use Immutable's Unified SDK

Old releases can be found here

v1.0.0-beta.1

28 Nov 04:29
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release

Added

  • expose all APIs, assetsAPI, balancesAPI, collectionsAPI, depositsAPI, encodingAPI, metadataAPI, mintsAPI, ordersAPI, projectsAPI, tokensAPI, tradesAPI, transfersAPI, usersAPI and withdrawalAPI as part of ImmutableX instance.
  • getUser(ethAddress:) has been added to ImmutableX instance.
  • getDeposit(id:) has been added to ImmutableX instance.
  • listDeposits(pageSize:cursor:orderBy:direction:user:status:updatedMinTimestamp:updatedMaxTimestamp:tokenType:tokenId:assetId:tokenAddress:tokenName:minQuantity:maxQuantity:metadata:) has been added to ImmutableX instance.
  • getUser(ethAddress:) has been added to ImmutableX instance.
  • getAsset(tokenAddress:tokenId:includeFees:) has been added to ImmutableX instance.
  • listAssets(pageSize:cursor:orderBy:direction:user:status:name:metadata:sellOrders:buyOrders:includeFees:collection:updatedMinTimestamp:updatedMaxTimestamp:auxiliaryFeePercentages:auxiliaryFeeRecipients:) has been added to ImmutableX instance.
  • getCollection(address:) has been added to ImmutableX instance.
  • listCollectionFilters(address:pageSize:nextPageToken:) has been added to ImmutableX instance.
  • listCollections(pageSize:cursor:orderBy:direction:blacklist:whitelist:keyword:) has been added to ImmutableX instance.
  • getProject(id:signer:) has been added to ImmutableX instance.
  • getProjects(pageSize:cursor:orderBy:direction:signer:) has been added to ImmutableX instance.
  • getBalance(owner:address:) has been added to ImmutableX instance.
  • listBalances(owner:) has been added to ImmutableX instance.
  • getMint(id:) has been added to ImmutableX instance.
  • listMints(pageSize:cursor:orderBy:direction:user:status:minTimestamp:maxTimestamp:tokenType:tokenId:assetId:tokenName:tokenAddress:minQuantity:maxQuantity:metadata:) has been added to ImmutableX instance.
  • listWithdrawals(withdrawnToWallet:rollupStatus:pageSize:cursor:orderBy:direction:user:status:minTimestamp:maxTimestamp:tokenType:)tokenId:assetId:tokenAddress:tokenName:minQuantity:maxQuantity:metadata:) has been added to ImmutableX instance.
  • getWithdrawal(id:) has been added to ImmutableX instance.
  • getOrder(id:includeFees:auxiliaryFeePercentages:auxiliaryFeeRecipients:) has been added to ImmutableX instance.
  • listOrders(pageSize:cursor:orderBy:direction:user:status:minTimestamp:maxTimestamp:updatedMinTimestamp:updatedMaxTimestamp:buyTokenType:buyTokenId:buyAssetId:buyTokenAddress:buyTokenName:buyMinQuantity:buyMaxQuantity:buyMetadata:sellTokenType:sellTokenId:sellAssetId:sellTokenAddress:sellTokenName:sellMinQuantity:sellMaxQuantity:sellMetadata:auxiliaryFeePercentages:auxiliaryFeeRecipients:includeFees:) has been added to ImmutableX instance.
  • getTrade(id:) has been added to ImmutableX instance.
  • listTrades(partyAOrderId:partyATokenType:partyATokenAddress:partyBOrderId:partyBTokenType:partyBTokenAddress:partyBTokenId:p)ageSize:cursor:orderBy:direction:minTimestamp:maxTimestamp:) has been added to ImmutableX instance.
  • getToken(address:) has been added to ImmutableX instance.
  • listTokens(address:symbols:) has been added to ImmutableX instance.
  • getTransfer(id:) has been added to ImmutableX instance.
  • listTransfers(pageSize:cursor:orderBy:direction:user:receiver:status:minTimestamp:maxTimestamp:tokenType:tokenId:assetId:tokenAddress:tokenName:minQuantity:maxQuantity:metadata:) has been added to ImmutableX instance.
  • transfer(token:recipientAddress:signer:starkSigner:) has been added to ImmutableX instance.
  • batchTransfer(transfers:signer:starkSigner:) has been added to ImmutableX instance.
  • generateKeyPair() method has been added to StarkKey for generating random key pairs.

Changed

  • (Breaking): renamed ImmutableX's sell(orderId:fees:signer:starkSigner:) to createOrder(asset:sellToken:fees:signer:starkSigner:)

  • (Breaking): renamed ImmutableX's buy(asset:sellToken:fees:signer:starkSigner:) to createTrade(orderId:fees:signer:starkSigner:)

  • (Breaking): rename PrivateKey, PublicKey, KeyPair and CurvePoint to ECPrivateKey, ECPublicKey, ECKeyPair and ECCurvePoint respectively
    The previous names were too generic and would easily conflict with other classes/structs. These have then been prefixed with EC for Elliptic Curve.

  • (Breaking): rename StarkKey's generateKeyPair to generateLegacyKeyPair
    This keypair generation is specific to ImmutableX's Link and should be used only for compatibility reasons.

Removed

  • (Breaking): removed closure based APIs from ImmutableX instance.

v0.4.0

21 Oct 00:10
Compare
Choose a tag to compare
  • (Breaking): rename ImmutableXCore to ImmutableX
    This follows the new spec for the core SDKs that will come to swift shortly.

  • (Breaking): replace ropsten environment for sandbox
    Ropsten has been deprecated and won't work anymore. Sandbox is the preferred testing environment.

  • re-include macos as a Cocoapods target
    The Core SDK is generic enough that it should work on macOS. It had accidentally been removed on 0.3.1.

v0.3.1

19 Oct 22:08
Compare
Choose a tag to compare

Removed

  • version file

Changed

  • Make PrivateKey, PublicKey, KeyPair and CurvePoint conform to Codable in order to make data persistence easier.
  • secp256k dependency, since the previous one was deprecated on Cocoapods
  • Swift 5.7 as minimum support

v0.2.2

17 Aug 03:12
Compare
Choose a tag to compare

Removed SwiftLint as a Plugin. Since SPM doesn't support package alias for now, this plugin would conflict with apps that use it and try to import this library.

v0.2.1

11 Aug 06:23
Compare
Choose a tag to compare
  • An incorrect ETH signature being passed in as part of the workflows.
  • A crash in debug mode when using the optional log level .requestBody.

v0.2.0

11 Aug 06:22
Compare
Choose a tag to compare
  • Added support to Cocoapods

v0.1.0

11 Aug 06:22
Compare
Choose a tag to compare

Initial release with a client for the public API and the following workflows:

  • Buy
  • Sell
  • Cancel sell
  • Transfer
  • Register
  • Buy crypto