Skip to content

Commit

Permalink
release/3.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
godenzim committed Jan 19, 2023
1 parent 72d268e commit 38a8eef
Show file tree
Hide file tree
Showing 3 changed files with 1,469 additions and 1,405 deletions.
10 changes: 5 additions & 5 deletions ios/App/App/Helpers/Extensions/JSValue+Additions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ extension JSArray: JSONConvertible {

func toJSONString() throws -> String {
let jsonEncoder = JSONEncoder()
let elements = try map {
if JSONSerialization.isValidJSONObject($0) {
let data = try JSONSerialization.data(withJSONObject: $0, options: [])
let elements = try map { (value: JSValue) throws -> String in
if JSONSerialization.isValidJSONObject(value) {
let data = try JSONSerialization.data(withJSONObject: value, options: [])
return String(data: data, encoding: .utf8)!
} else if let encodable = $0 as? Encodable {
} /*else if let encodable = value as? Encodable {
let data = try jsonEncoder.encode(encodable)
return String(data: data, encoding: .utf8)!
} else if let jsonConvertible = $0 as? JSONConvertible {
} */else if let jsonConvertible = value as? JSONConvertible {
return try jsonConvertible.toJSONString()
} else {
throw JSError.invalidJSON
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@
"apply-diagnostic-modules": "node apply-diagnostic-modules.js"
},
"dependencies": {
"@airgap/angular-core": "0.0.33-beta.8",
"@airgap/angular-ngrx": "0.0.33-beta.8",
"@airgap/aeternity": "^0.13.8-beta.3",
"@airgap/astar": "^0.13.8-beta.3",
"@airgap/bitcoin": "^0.13.8-beta.3",
"@airgap/coinlib-core": "^0.13.8-beta.3",
"@airgap/cosmos": "^0.13.8-beta.3",
"@airgap/ethereum": "^0.13.8-beta.3",
"@airgap/groestlcoin": "^0.13.8-beta.3",
"@airgap/moonbeam": "^0.13.8-beta.3",
"@airgap/polkadot": "^0.13.8-beta.3",
"@airgap/serializer": "^0.13.8-beta.3",
"@airgap/substrate": "^0.13.8-beta.3",
"@airgap/tezos": "^0.13.8-beta.3",
"@airgap/aeternity": "0.13.8",
"@airgap/angular-core": "0.0.33",
"@airgap/angular-ngrx": "0.0.33",
"@airgap/astar": "0.13.8",
"@airgap/bitcoin": "0.13.8",
"@airgap/coinlib-core": "0.13.8",
"@airgap/cosmos": "0.13.8",
"@airgap/ethereum": "0.13.8",
"@airgap/groestlcoin": "0.13.8",
"@airgap/moonbeam": "0.13.8",
"@airgap/polkadot": "0.13.8",
"@airgap/sapling-wasm": "0.0.7",
"@airgap/serializer": "0.13.8",
"@airgap/substrate": "0.13.8",
"@airgap/tezos": "0.13.8",
"@angular/common": "13.2.5",
"@angular/core": "13.2.5",
"@angular/forms": "13.2.5",
Expand Down
Loading

0 comments on commit 38a8eef

Please sign in to comment.