Skip to content

Commit

Permalink
v1.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mytonwalletorg committed Feb 6, 2024
1 parent 16ff1a7 commit 3cf3363
Show file tree
Hide file tree
Showing 159 changed files with 3,747 additions and 1,119 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ src/lib/rlottie/rlottie-wasm.js
src/lib/aes-js/index.js
src/lib/noble-ed25519/index.js
src/lib/dexie/
src/lib/axios-retry/
src/lib/is-retry-allowed/
jest.config.js
playwright.config.ts
postcss.config.js
Expand Down
2 changes: 2 additions & 0 deletions capacitor.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ const config: CapacitorConfig = {
'@capacitor/clipboard',
'@capacitor/dialog',
'@capacitor/haptics',
'@capacitor/action-sheet',
'@capacitor/status-bar',
'@capgo/capacitor-native-biometric',
'@mauricewegner/capacitor-navigation-bar',
'capacitor-plugin-safe-area',
'cordova-plugin-inappbrowser',
'native-bottom-sheet',
],
},
Expand Down
1 change: 1 addition & 0 deletions changelogs/1.17.23.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bug fixes and performance improvements
5 changes: 5 additions & 0 deletions changelogs/1.18.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
What's New:
- New "Explore" section presenting interesting TON projects.
- Tokens with value less that $0.01 are now automatically hidden.
- You can now opt-out from auto-updates for better security.

2 changes: 1 addition & 1 deletion deploy/postversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

VERSION=$(node -p "require('./package.json').version")
DEFAULT_CHANGELOG="Bug fixes"
DEFAULT_CHANGELOG="Bug fixes and performance improvements"

echo $VERSION > public/version.txt

Expand Down
1 change: 1 addition & 0 deletions mobile/android/app/capacitor.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies {
implementation project(':capacitor-clipboard')
implementation project(':capacitor-dialog')
implementation project(':capacitor-haptics')
implementation project(':capacitor-action-sheet')
implementation project(':capacitor-status-bar')
implementation project(':capgo-capacitor-native-biometric')
implementation project(':mauricewegner-capacitor-navigation-bar')
Expand Down
3 changes: 3 additions & 0 deletions mobile/android/capacitor.settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ project(':capacitor-dialog').projectDir = new File('../../node_modules/@capacito
include ':capacitor-haptics'
project(':capacitor-haptics').projectDir = new File('../../node_modules/@capacitor/haptics/android')

include ':capacitor-action-sheet'
project(':capacitor-action-sheet').projectDir = new File('../../node_modules/@capacitor/action-sheet/android')

include ':capacitor-status-bar'
project(':capacitor-status-bar').projectDir = new File('../../node_modules/@capacitor/status-bar/android')

Expand Down
1 change: 1 addition & 0 deletions mobile/android/variables.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ ext {
androidxEspressoCoreVersion = '3.5.1'
cordovaAndroidVersion = '10.1.1'
mlkitBarcodeScanningVersion = '17.2.0'
androidxMaterialVersion = '1.8.0'
}
15 changes: 3 additions & 12 deletions mobile/ios/App/Podfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
def assertDeploymentTarget(installer)
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# ensure IPHONEOS_DEPLOYMENT_TARGET is at least 13.0
deployment_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f
should_upgrade = deployment_target < 13.0 && deployment_target != 0.0
if should_upgrade
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
end
end
end
require_relative '../../../node_modules/@capacitor/ios/scripts/pods_helpers'

platform :ios, '13.0'
use_frameworks!
Expand All @@ -23,6 +12,7 @@ def capacitor_pods
pod 'Capacitor', :path => '../../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../../node_modules/@capacitor/ios'
pod 'CapacitorMlkitBarcodeScanning', :path => '../../../node_modules/@capacitor-mlkit/barcode-scanning'
pod 'CapacitorActionSheet', :path => '../../../node_modules/@capacitor/action-sheet'
pod 'CapacitorApp', :path => '../../../node_modules/@capacitor/app'
pod 'CapacitorClipboard', :path => '../../../node_modules/@capacitor/clipboard'
pod 'CapacitorDialog', :path => '../../../node_modules/@capacitor/dialog'
Expand All @@ -33,6 +23,7 @@ def capacitor_pods
pod 'CapacitorPluginSafeArea', :path => '../../../node_modules/capacitor-plugin-safe-area'
pod 'CapacitorSplashScreen', :path => '../../plugins/capacitor-splash-screen'
pod 'NativeBottomSheet', :path => '../../plugins/native-bottom-sheet'
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
end

target 'MyTonWallet' do
Expand Down
22 changes: 17 additions & 5 deletions mobile/ios/App/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
PODS:
- Capacitor (5.5.1):
- Capacitor (5.6.0):
- CapacitorCordova
- CapacitorActionSheet (5.0.6):
- Capacitor
- CapacitorApp (5.0.6):
- Capacitor
- CapacitorClipboard (5.0.6):
- Capacitor
- CapacitorCordova (5.5.1)
- CapacitorCordova (5.6.0)
- CapacitorDialog (5.0.6):
- Capacitor
- CapacitorHaptics (5.0.6):
Expand All @@ -21,6 +23,8 @@ PODS:
- Capacitor
- CapgoCapacitorNativeBiometric (0.0.1):
- Capacitor
- CordovaPlugins (5.6.0):
- CapacitorCordova
- FloatingPanel (2.8.0)
- GoogleDataTransport (9.2.5):
- GoogleUtilities/Environment (~> 7.7)
Expand Down Expand Up @@ -84,6 +88,7 @@ PODS:

DEPENDENCIES:
- "Capacitor (from `../../../node_modules/@capacitor/ios`)"
- "CapacitorActionSheet (from `../../../node_modules/@capacitor/action-sheet`)"
- "CapacitorApp (from `../../../node_modules/@capacitor/app`)"
- "CapacitorClipboard (from `../../../node_modules/@capacitor/clipboard`)"
- "CapacitorCordova (from `../../../node_modules/@capacitor/ios`)"
Expand All @@ -94,6 +99,7 @@ DEPENDENCIES:
- CapacitorSplashScreen (from `../../plugins/capacitor-splash-screen`)
- "CapacitorStatusBar (from `../../../node_modules/@capacitor/status-bar`)"
- "CapgoCapacitorNativeBiometric (from `../../../node_modules/@capgo/capacitor-native-biometric`)"
- CordovaPlugins (from `../capacitor-cordova-ios-plugins`)
- "MauricewegnerCapacitorNavigationBar (from `../../../node_modules/@mauricewegner/capacitor-navigation-bar`)"
- NativeBottomSheet (from `../../plugins/native-bottom-sheet`)

Expand All @@ -116,6 +122,8 @@ SPEC REPOS:
EXTERNAL SOURCES:
Capacitor:
:path: "../../../node_modules/@capacitor/ios"
CapacitorActionSheet:
:path: "../../../node_modules/@capacitor/action-sheet"
CapacitorApp:
:path: "../../../node_modules/@capacitor/app"
CapacitorClipboard:
Expand All @@ -136,23 +144,27 @@ EXTERNAL SOURCES:
:path: "../../../node_modules/@capacitor/status-bar"
CapgoCapacitorNativeBiometric:
:path: "../../../node_modules/@capgo/capacitor-native-biometric"
CordovaPlugins:
:path: "../capacitor-cordova-ios-plugins"
MauricewegnerCapacitorNavigationBar:
:path: "../../../node_modules/@mauricewegner/capacitor-navigation-bar"
NativeBottomSheet:
:path: "../../plugins/native-bottom-sheet"

SPEC CHECKSUMS:
Capacitor: 9da0a2415e3b6098511f8b5ffdb578d91ee79f8f
Capacitor: ebfc16cdb8116d04c101686b080342872da42d43
CapacitorActionSheet: ffcdc28d01d731661745efd5cb75f9117e18530e
CapacitorApp: 024e1b1bea5f883d79f6330d309bc441c88ad04a
CapacitorClipboard: 77edf49827ea21da2a9c05c690a4a6a4d07199c4
CapacitorCordova: e128cc7688c070ca0bfa439898a5f609da8dbcfe
CapacitorCordova: 931b48fcdbc9bc985fc2f16cec9f77c794a27729
CapacitorDialog: 0f3c15dfe9414b83bc64aef4078f1b92bcfead26
CapacitorHaptics: 1fffc1217c7e64a472d7845be50fb0c2f7d4204c
CapacitorMlkitBarcodeScanning: ea08ef246e5d3511d5a231a59fae36b16ad9acb3
CapacitorPluginSafeArea: bfdd714827dbd89fb44fea286beec996e1b0c5c4
CapacitorSplashScreen: 6fce4269c6f7dc7591cc28760d1f85255e5edb1b
CapacitorStatusBar: 565c0a1ebd79bb40d797606a8992b4a105885309
CapgoCapacitorNativeBiometric: 44b0bb31118f6ed5171087a77a856a80a0cfa250
CordovaPlugins: 149708b4353176a65688a5aed237f7c3054e7702
FloatingPanel: f585be005983e66f8f4932f93ca46bf9f09dae3a
GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2
GoogleMLKit: 2bd0dc6253c4d4f227aad460f69215a504b2980e
Expand All @@ -169,6 +181,6 @@ SPEC CHECKSUMS:
NativeBottomSheet: edfc1f70d3517ea92e70392db8c2de5ea3e6f15e
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4

PODFILE CHECKSUM: 05d9e9b62e3a715491a0613182dd0784570842b7
PODFILE CHECKSUM: 675004c5a0f43d75bb4b1750d8d39da5766efaa5

COCOAPODS: 1.14.3
Empty file.
2 changes: 1 addition & 1 deletion mobile/plugins/native-bottom-sheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,6 @@ addListener(eventName: 'openInMain', handler: (options: { key: BottomSheetKeys;

#### BottomSheetKeys

<code>'initial' | 'receive' | 'invoice' | 'transfer' | 'swap' | 'stake' | 'unstake' | 'staking-info' | 'transaction-info' | 'swap-activity' | 'backup' | 'add-account' | 'settings' | 'qr-scanner' | 'dapp-connect' | 'dapp-transaction' | 'disclaimer' | 'backup-warning'</code>
<code>'initial' | 'receive' | 'invoice' | 'transfer' | 'swap' | 'stake' | 'unstake' | 'staking-info' | 'transaction-info' | 'swap-activity' | 'backup' | 'add-account' | 'settings' | 'qr-scanner' | 'dapp-connect' | 'dapp-transaction' | 'disclaimer' | 'backup-warning' | 'onramp-widget'</code>

</docgen-api>
4 changes: 4 additions & 0 deletions mobile/plugins/native-bottom-sheet/dist/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@
{
"text": "'backup-warning'",
"complexTypes": []
},
{
"text": "'onramp-widget'",
"complexTypes": []
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PluginListenerHandle } from '@capacitor/core';
export declare type BottomSheetKeys = 'initial' | 'receive' | 'invoice' | 'transfer' | 'swap' | 'stake' | 'unstake' | 'staking-info' | 'transaction-info' | 'swap-activity' | 'backup' | 'add-account' | 'settings' | 'qr-scanner' | 'dapp-connect' | 'dapp-transaction' | 'disclaimer' | 'backup-warning';
export declare type BottomSheetKeys = 'initial' | 'receive' | 'invoice' | 'transfer' | 'swap' | 'stake' | 'unstake' | 'staking-info' | 'transaction-info' | 'swap-activity' | 'backup' | 'add-account' | 'settings' | 'qr-scanner' | 'dapp-connect' | 'dapp-transaction' | 'disclaimer' | 'backup-warning' | 'onramp-widget';
export interface BottomSheetPlugin {
prepare(): Promise<void>;
applyScrollPatch(): Promise<void>;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,12 @@ public class BottomSheetPlugin: CAPPlugin, FloatingPanelControllerDelegate {

@objc func applyScrollPatch(_ call: CAPPluginCall) {
DispatchQueue.main.async { [self] in
let topVc = bridge!.viewController!.parent!.presentingViewController as! CAPBridgeViewController
let topBottomSheetPlugin = topVc.bridge!.plugin(withName: "BottomSheet") as! BottomSheetPlugin
topBottomSheetPlugin.setupScrollReducers()
guard let topVc = bridge?.viewController?.parent?.presentingViewController as? CAPBridgeViewController else {
call.reject("Error: presentingViewController is nil")
return
}
let topBottomSheetPlugin = topVc.bridge?.plugin(withName: "BottomSheet") as? BottomSheetPlugin
topBottomSheetPlugin?.setupScrollReducers()
call.resolve()
}
}
Expand Down
3 changes: 2 additions & 1 deletion mobile/plugins/native-bottom-sheet/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export type BottomSheetKeys =
| 'dapp-connect'
| 'dapp-transaction'
| 'disclaimer'
| 'backup-warning';
| 'backup-warning'
| 'onramp-widget';

export interface BottomSheetPlugin {
prepare(): Promise<void>;
Expand Down
Loading

0 comments on commit 3cf3363

Please sign in to comment.