Skip to content

Commit

Permalink
Merge pull request #7 from tangem/IOS-3973-Update-version-to-3.2.4
Browse files Browse the repository at this point in the history
Update version to 3.2.4 (5a6d8c67b5cdc82c9dea4a8470bd7fcdf940a81a)
  • Loading branch information
Balashov152 committed Jul 7, 2023
2 parents ca43aae + 6832a6d commit 6e1eed5
Show file tree
Hide file tree
Showing 35 changed files with 105,796 additions and 117,894 deletions.
2 changes: 1 addition & 1 deletion TangemWalletCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'TangemWalletCore'
s.version = '3.2.1-tangem2'
s.version = '3.2.4-tangem1'
s.summary = 'Use TW xcframework for Tangem integration'

# This description is used to generate tags and improve search results.
Expand Down
10 changes: 5 additions & 5 deletions WalletCore.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>WalletCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>WalletCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,10 @@ TWString *_Nullable TWCardanoOutputMinAdaAmount(TWString *_Nonnull toAddress, TW
TW_EXPORT_STATIC_METHOD
TWString *_Nonnull TWCardanoGetStakingAddress(TWString *_Nonnull baseAddress) TW_VISIBILITY_DEFAULT;

/// Return the legacy(byron) address.
/// \param publicKey A valid public key with TWPublicKeyTypeED25519Cardano type.
/// \return the legacy(byron) address, as string, or empty string on error.
TW_EXPORT_STATIC_METHOD
TWString *_Nonnull TWCardanoGetByronAddress(struct TWPublicKey *_Nonnull publicKey);

TW_EXTERN_C_END
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ enum TWCoinType {
TWCoinTypeRootstock = 137,
TWCoinTypeThetaFuel = 361,
TWCoinTypeConfluxeSpace = 1030,
TWCoinTypeAcala = 787,
TWCoinTypeAcalaEVM = 10000787,
TWCoinTypeOpBNBtestnet = 5611,
};

/// Returns the blockchain for a coin type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ enum TWEthereumChainID {
TWEthereumChainIDOkc = 66,
TWEthereumChainIDThundertoken = 108,
TWEthereumChainIDCfxevm = 1030,
TWEthereumChainIDOpbnb = 5611,
TWEthereumChainIDGochain = 60,
TWEthereumChainIDMeter = 82,
TWEthereumChainIDCelo = 42220,
Expand All @@ -43,6 +44,7 @@ enum TWEthereumChainID {
TWEthereumChainIDKcc = 321,
TWEthereumChainIDZksync = 324,
TWEthereumChainIDHeco = 128,
TWEthereumChainIDAcalaevm = 787,
TWEthereumChainIDMetis = 1088,
TWEthereumChainIDPolygonzkevm = 1101,
TWEthereumChainIDMoonbeam = 1284,
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,19 @@ struct TWWebAuthn;
/// \return Public key.
TW_EXPORT_STATIC_METHOD
struct TWPublicKey *_Nullable TWWebAuthnGetPublicKey(TWData *_Nonnull attestationObject);

/// Uses ASN parser to extract r and s values from a webauthn signature
///
/// \param signature ASN encoded webauthn signature: https://www.w3.org/TR/webauthn-2/#sctn-signature-attestation-types
/// \return Concatenated r and s values.
TW_EXPORT_STATIC_METHOD
TWData *_Nonnull TWWebAuthnGetRSValues(TWData *_Nonnull signature);

/// Reconstructs the original message that was signed via P256 curve. Can be used for signature validation.
///
/// \param authenticatorData Authenticator Data: https://www.w3.org/TR/webauthn-2/#authenticator-data
/// \param clientDataJSON clientDataJSON: https://www.w3.org/TR/webauthn-2/#dom-authenticatorresponse-clientdatajson
/// \return original messages.
TW_EXPORT_STATIC_METHOD
TWData *_Nonnull TWWebAuthnReconstructOriginalMessage(TWData* _Nonnull authenticatorData, TWData* _Nonnull clientDataJSON);
TW_EXTERN_C_END
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
// Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
#ifndef WALLETCORE_SWIFT_H
#define WALLETCORE_SWIFT_H
#pragma clang diagnostic push
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ FOUNDATION_EXPORT const unsigned char WalletCoreVersionString[];
#include "TWStoredKey.h"
#include "TWStoredKeyEncryption.h"
#include "TWStoredKeyEncryptionLevel.h"
#include "TWSubstrateAddress.h"
#include "TWSubstrateSigner.h"
#include "TWTHORChainSwap.h"
#include "TWTezosMessageSigner.h"
#include "TWTransactionCompiler.h"
Expand Down
Binary file modified WalletCore.xcframework/ios-arm64/WalletCore.framework/Info.plist
Binary file not shown.
Loading

0 comments on commit 6e1eed5

Please sign in to comment.