@functionland/react-native-fula 1.14.8 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +226 -214
  3. package/android/build.gradle +110 -110
  4. package/android/gradle.properties +5 -5
  5. package/android/src/main/AndroidManifest.xml +3 -3
  6. package/android/src/main/AndroidManifestNew.xml +2 -2
  7. package/android/src/main/java/land/fx/fula/ConfigRef.java +7 -7
  8. package/android/src/main/java/land/fx/fula/Cryptography.java +62 -62
  9. package/android/src/main/java/land/fx/fula/FulaModule.java +1435 -1466
  10. package/android/src/main/java/land/fx/fula/FulaPackage.java +32 -32
  11. package/android/src/main/java/land/fx/fula/SharedPreferenceHelper.java +65 -65
  12. package/android/src/main/java/land/fx/fula/StaticHelper.java +13 -13
  13. package/android/src/main/java/land/fx/fula/ThreadUtils.java +42 -42
  14. package/ios/Cryptography.swift +49 -49
  15. package/ios/Fula-Bridging-Header.h +3 -3
  16. package/ios/Fula.mm +197 -199
  17. package/ios/Fula.swift +1221 -1221
  18. package/ios/UserDataHelper.swift +143 -143
  19. package/lib/commonjs/index.js +2 -2
  20. package/lib/commonjs/index.js.map +1 -1
  21. package/lib/commonjs/interfaces/augment-api-errors.js +4 -0
  22. package/lib/commonjs/interfaces/augment-api-errors.js.map +1 -0
  23. package/lib/commonjs/interfaces/augment-api-rpc.js +4 -0
  24. package/lib/commonjs/interfaces/augment-api-rpc.js.map +1 -0
  25. package/lib/commonjs/interfaces/augment-api-runtime.js +4 -0
  26. package/lib/commonjs/interfaces/augment-api-runtime.js.map +1 -0
  27. package/lib/commonjs/interfaces/augment-api.js +10 -0
  28. package/lib/commonjs/interfaces/augment-api.js.map +1 -0
  29. package/lib/commonjs/interfaces/augment-types.js +4 -0
  30. package/lib/commonjs/interfaces/augment-types.js.map +1 -0
  31. package/lib/commonjs/interfaces/fulaNativeModule.js +1 -2
  32. package/lib/commonjs/interfaces/fulaNativeModule.js.map +1 -1
  33. package/lib/commonjs/interfaces/index.js +6 -0
  34. package/lib/commonjs/interfaces/index.js.map +1 -0
  35. package/lib/commonjs/interfaces/{api-lookup.js → lookup.js} +623 -382
  36. package/lib/commonjs/interfaces/lookup.js.map +1 -0
  37. package/lib/commonjs/interfaces/registry.js +4 -0
  38. package/lib/commonjs/interfaces/registry.js.map +1 -0
  39. package/lib/commonjs/interfaces/types-lookup.js +4 -0
  40. package/lib/commonjs/interfaces/types-lookup.js.map +1 -0
  41. package/lib/commonjs/interfaces/types.js +4 -0
  42. package/lib/commonjs/interfaces/types.js.map +1 -0
  43. package/lib/commonjs/protocols/blockchain.js +123 -76
  44. package/lib/commonjs/protocols/blockchain.js.map +1 -1
  45. package/lib/commonjs/protocols/chain-api.js +151 -37
  46. package/lib/commonjs/protocols/chain-api.js.map +1 -1
  47. package/lib/commonjs/protocols/fula.js +195 -99
  48. package/lib/commonjs/protocols/fula.js.map +1 -1
  49. package/lib/commonjs/protocols/fxblox.js +3 -3
  50. package/lib/commonjs/protocols/fxblox.js.map +1 -1
  51. package/lib/commonjs/types/blockchain.js.map +1 -1
  52. package/lib/commonjs/types/fxblox.js.map +1 -1
  53. package/lib/module/index.js.map +1 -1
  54. package/lib/module/interfaces/augment-api-errors.js +9 -0
  55. package/lib/module/interfaces/augment-api-errors.js.map +1 -0
  56. package/lib/module/interfaces/augment-api-rpc.js +9 -0
  57. package/lib/module/interfaces/augment-api-rpc.js.map +1 -0
  58. package/lib/module/interfaces/augment-api-runtime.js +9 -0
  59. package/lib/module/interfaces/augment-api-runtime.js.map +1 -0
  60. package/lib/module/interfaces/augment-api.js +11 -0
  61. package/lib/module/interfaces/augment-api.js.map +1 -0
  62. package/lib/module/interfaces/augment-types.js +9 -0
  63. package/lib/module/interfaces/augment-types.js.map +1 -0
  64. package/lib/module/interfaces/fulaNativeModule.js.map +1 -1
  65. package/lib/module/interfaces/index.js +5 -0
  66. package/lib/module/interfaces/index.js.map +1 -0
  67. package/lib/module/interfaces/{api-lookup.js → lookup.js} +622 -380
  68. package/lib/module/interfaces/lookup.js.map +1 -0
  69. package/lib/module/interfaces/registry.js +9 -0
  70. package/lib/module/interfaces/registry.js.map +1 -0
  71. package/lib/module/interfaces/types-lookup.js +9 -0
  72. package/lib/module/interfaces/types-lookup.js.map +1 -0
  73. package/lib/module/interfaces/types.js +3 -0
  74. package/lib/module/interfaces/types.js.map +1 -0
  75. package/lib/module/protocols/blockchain.js +120 -75
  76. package/lib/module/protocols/blockchain.js.map +1 -1
  77. package/lib/module/protocols/chain-api.js +142 -31
  78. package/lib/module/protocols/chain-api.js.map +1 -1
  79. package/lib/module/protocols/fula.js +191 -99
  80. package/lib/module/protocols/fula.js.map +1 -1
  81. package/lib/module/protocols/fxblox.js +3 -3
  82. package/lib/module/protocols/fxblox.js.map +1 -1
  83. package/lib/module/types/blockchain.js.map +1 -1
  84. package/lib/module/types/fxblox.js.map +1 -1
  85. package/lib/typescript/interfaces/augment-api-errors.d.ts +442 -0
  86. package/lib/typescript/interfaces/augment-api-errors.d.ts.map +1 -0
  87. package/lib/typescript/interfaces/augment-api-rpc.d.ts +680 -0
  88. package/lib/typescript/interfaces/augment-api-rpc.d.ts.map +1 -0
  89. package/lib/typescript/interfaces/augment-api-runtime.d.ts +248 -0
  90. package/lib/typescript/interfaces/augment-api-runtime.d.ts.map +1 -0
  91. package/lib/typescript/interfaces/augment-api.d.ts +8 -0
  92. package/lib/typescript/interfaces/augment-api.d.ts.map +1 -0
  93. package/lib/typescript/interfaces/augment-types.d.ts +1224 -0
  94. package/lib/typescript/interfaces/augment-types.d.ts.map +1 -0
  95. package/lib/typescript/interfaces/fulaNativeModule.d.ts +7 -3
  96. package/lib/typescript/interfaces/fulaNativeModule.d.ts.map +1 -1
  97. package/lib/typescript/interfaces/index.d.ts +1 -0
  98. package/lib/typescript/interfaces/index.d.ts.map +1 -0
  99. package/lib/typescript/interfaces/{api-lookup.d.ts → lookup.d.ts} +441 -199
  100. package/lib/typescript/interfaces/lookup.d.ts.map +1 -0
  101. package/lib/typescript/interfaces/registry.d.ts +146 -0
  102. package/lib/typescript/interfaces/registry.d.ts.map +1 -0
  103. package/lib/typescript/interfaces/types-lookup.d.ts +1910 -0
  104. package/lib/typescript/interfaces/types-lookup.d.ts.map +1 -0
  105. package/lib/typescript/interfaces/types.d.ts +1 -0
  106. package/lib/typescript/interfaces/types.d.ts.map +1 -0
  107. package/lib/typescript/protocols/blockchain.d.ts +5 -3
  108. package/lib/typescript/protocols/blockchain.d.ts.map +1 -1
  109. package/lib/typescript/protocols/chain-api.d.ts +5 -0
  110. package/lib/typescript/protocols/chain-api.d.ts.map +1 -1
  111. package/lib/typescript/protocols/fula.d.ts +16 -0
  112. package/lib/typescript/protocols/fula.d.ts.map +1 -1
  113. package/lib/typescript/types/blockchain.d.ts +6 -0
  114. package/lib/typescript/types/blockchain.d.ts.map +1 -1
  115. package/package.json +178 -172
  116. package/react-native-fula.podspec +47 -47
  117. package/src/index.tsx +4 -4
  118. package/src/interfaces/augment-api-errors.ts +449 -0
  119. package/src/interfaces/augment-api-rpc.ts +617 -0
  120. package/src/interfaces/augment-api-runtime.ts +224 -0
  121. package/src/interfaces/augment-api.ts +10 -0
  122. package/src/interfaces/augment-types.ts +1230 -0
  123. package/src/interfaces/fulaNativeModule.ts +130 -122
  124. package/src/interfaces/index.ts +4 -0
  125. package/src/interfaces/{api-lookup.ts → lookup.ts} +1889 -1647
  126. package/src/interfaces/registry.ts +152 -0
  127. package/src/interfaces/types-lookup.ts +2043 -0
  128. package/src/interfaces/types.ts +3 -0
  129. package/src/protocols/blockchain.ts +549 -504
  130. package/src/protocols/chain-api.ts +148 -24
  131. package/src/protocols/fula.ts +419 -314
  132. package/src/protocols/fxblox.ts +49 -49
  133. package/src/types/blockchain.ts +89 -81
  134. package/src/types/fxblox.ts +8 -8
  135. package/ios/Fula.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  136. package/ios/Fula.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  137. package/ios/Fula.xcodeproj/project.xcworkspace/xcuserdata/user246549.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  138. package/ios/Fula.xcodeproj/xcuserdata/user246549.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  139. package/lib/commonjs/interfaces/api-lookup.js.map +0 -1
  140. package/lib/module/interfaces/api-lookup.js.map +0 -1
  141. package/lib/typescript/interfaces/api-lookup.d.ts.map +0 -1
@@ -1,143 +1,143 @@
1
- import Foundation
2
- import CommonCrypto
3
- import Foundation.NSDate // for TimeInterval
4
-
5
- struct TimedOutError: Error, Equatable {}
6
-
7
- public func withTimeout<R>(
8
- seconds: TimeInterval,
9
- operation: @escaping @Sendable () async throws -> R
10
- ) async throws -> R {
11
- return try await withThrowingTaskGroup(of: R.self) { group in
12
- defer {
13
- group.cancelAll()
14
- }
15
-
16
- // Start actual work.
17
- group.addTask {
18
- let result = try await operation()
19
- try Task.checkCancellation()
20
- return result
21
- }
22
- // Start timeout child task.
23
- group.addTask {
24
- if seconds > 0 {
25
- try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
26
- }
27
- try Task.checkCancellation()
28
- // We’ve reached the timeout.
29
- throw TimedOutError()
30
- }
31
- // First finished child task wins, cancel the other task.
32
- let result = try await group.next()!
33
- return result
34
- }
35
- }
36
-
37
-
38
- public class UserDataHelper: NSObject {
39
- var defaults: UserDefaults
40
-
41
- override init() {
42
- defaults = UserDefaults.standard
43
- }
44
-
45
- public func getValue(_ key: String) -> String? {
46
- return defaults.string(forKey: key)
47
- }
48
-
49
- public func getBooleanValue(_ key: String) -> Bool? {
50
- return defaults.bool(forKey: key)
51
- }
52
-
53
- public func add(_ key: String, _ value: String) {
54
- defaults.set(value, forKey: key)
55
- }
56
-
57
- public func add(_ key: String, _ value: Bool) {
58
- defaults.set(value, forKey: key)
59
- }
60
-
61
- public func remove(_ key: String) {
62
- defaults.removeObject(forKey: key)
63
- }
64
- }
65
-
66
- public extension String {
67
- func trim() -> String {
68
- return self.trimmingCharacters(in: NSCharacterSet.whitespaces)
69
- }
70
- func fromBase64() -> Data? {
71
- return Data(base64Encoded: self)
72
- }
73
-
74
- func toUint8Array() -> Array<UInt8> {
75
- return Array(self.utf8)
76
- }
77
-
78
- func toData() -> Data {
79
- return self.data(using: .utf8)!
80
- }
81
- }
82
-
83
- public extension Array<UInt8> {
84
- func toHex() -> String {
85
- return Data(self).toHex()
86
- }
87
- func toData() -> Data {
88
- return Data(self)
89
- }
90
- }
91
-
92
- public func toData(ptr: UnsafePointer<UInt8>?, size: Int) -> Data? {
93
- // This will clone input c bytes to a swift Data class.
94
- let buffer = UnsafeBufferPointer(start: ptr, count: size)
95
- return Data(buffer: buffer)
96
- }
97
-
98
- public extension Data {
99
- /// Fast convert to hex by reserving memory (instead of mapping and join).
100
- func toHex(uppercase: Bool = false) -> String {
101
- // Constants (Hex has 2 characters for each Byte).
102
- let size = self.count * 2;
103
- let degitToCharMap = Array((
104
- uppercase ? "0123456789ABCDEF" : "0123456789abcdef"
105
- ).utf16);
106
- // Reserve dynamic memory (plus one for null termination).
107
- let buffer = UnsafeMutablePointer<unichar>.allocate(capacity: size + 1);
108
- // Convert each byte.
109
- var index = 0
110
- for byte in self {
111
- buffer[index] = degitToCharMap[Int(byte / 16)];
112
- index += 1;
113
- buffer[index] = degitToCharMap[Int(byte % 16)];
114
- index += 1;
115
- }
116
- // Set Null termination.
117
- buffer[index] = 0;
118
- // Casts to string (without any copying).
119
- return String(utf16CodeUnitsNoCopy: buffer,
120
- count: size, freeWhenDone: true)
121
- }
122
-
123
- func toUTF8String() -> String? {
124
- return String(data: self, encoding: .utf8)
125
- }
126
-
127
- func toUint8Array() -> Array<UInt8> {
128
- return Array(self)
129
- }
130
-
131
- func fromBase64() -> Data? {
132
- // Finally, decode.
133
- return Data(base64Encoded: self)
134
- }
135
-
136
- func sha256() -> Data {
137
- var hash = [UInt8](repeating: 0, count: Int(CC_SHA256_DIGEST_LENGTH))
138
- self.withUnsafeBytes {
139
- _ = CC_SHA256($0.baseAddress, CC_LONG(self.count), &hash)
140
- }
141
- return Data(hash)
142
- }
143
- }
1
+ import Foundation
2
+ import CommonCrypto
3
+ import Foundation.NSDate // for TimeInterval
4
+
5
+ struct TimedOutError: Error, Equatable {}
6
+
7
+ public func withTimeout<R>(
8
+ seconds: TimeInterval,
9
+ operation: @escaping @Sendable () async throws -> R
10
+ ) async throws -> R {
11
+ return try await withThrowingTaskGroup(of: R.self) { group in
12
+ defer {
13
+ group.cancelAll()
14
+ }
15
+
16
+ // Start actual work.
17
+ group.addTask {
18
+ let result = try await operation()
19
+ try Task.checkCancellation()
20
+ return result
21
+ }
22
+ // Start timeout child task.
23
+ group.addTask {
24
+ if seconds > 0 {
25
+ try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
26
+ }
27
+ try Task.checkCancellation()
28
+ // We’ve reached the timeout.
29
+ throw TimedOutError()
30
+ }
31
+ // First finished child task wins, cancel the other task.
32
+ let result = try await group.next()!
33
+ return result
34
+ }
35
+ }
36
+
37
+
38
+ public class UserDataHelper: NSObject {
39
+ var defaults: UserDefaults
40
+
41
+ override init() {
42
+ defaults = UserDefaults.standard
43
+ }
44
+
45
+ public func getValue(_ key: String) -> String? {
46
+ return defaults.string(forKey: key)
47
+ }
48
+
49
+ public func getBooleanValue(_ key: String) -> Bool? {
50
+ return defaults.bool(forKey: key)
51
+ }
52
+
53
+ public func add(_ key: String, _ value: String) {
54
+ defaults.set(value, forKey: key)
55
+ }
56
+
57
+ public func add(_ key: String, _ value: Bool) {
58
+ defaults.set(value, forKey: key)
59
+ }
60
+
61
+ public func remove(_ key: String) {
62
+ defaults.removeObject(forKey: key)
63
+ }
64
+ }
65
+
66
+ public extension String {
67
+ func trim() -> String {
68
+ return self.trimmingCharacters(in: NSCharacterSet.whitespaces)
69
+ }
70
+ func fromBase64() -> Data? {
71
+ return Data(base64Encoded: self)
72
+ }
73
+
74
+ func toUint8Array() -> Array<UInt8> {
75
+ return Array(self.utf8)
76
+ }
77
+
78
+ func toData() -> Data {
79
+ return self.data(using: .utf8)!
80
+ }
81
+ }
82
+
83
+ public extension Array<UInt8> {
84
+ func toHex() -> String {
85
+ return Data(self).toHex()
86
+ }
87
+ func toData() -> Data {
88
+ return Data(self)
89
+ }
90
+ }
91
+
92
+ public func toData(ptr: UnsafePointer<UInt8>?, size: Int) -> Data? {
93
+ // This will clone input c bytes to a swift Data class.
94
+ let buffer = UnsafeBufferPointer(start: ptr, count: size)
95
+ return Data(buffer: buffer)
96
+ }
97
+
98
+ public extension Data {
99
+ /// Fast convert to hex by reserving memory (instead of mapping and join).
100
+ func toHex(uppercase: Bool = false) -> String {
101
+ // Constants (Hex has 2 characters for each Byte).
102
+ let size = self.count * 2;
103
+ let degitToCharMap = Array((
104
+ uppercase ? "0123456789ABCDEF" : "0123456789abcdef"
105
+ ).utf16);
106
+ // Reserve dynamic memory (plus one for null termination).
107
+ let buffer = UnsafeMutablePointer<unichar>.allocate(capacity: size + 1);
108
+ // Convert each byte.
109
+ var index = 0
110
+ for byte in self {
111
+ buffer[index] = degitToCharMap[Int(byte / 16)];
112
+ index += 1;
113
+ buffer[index] = degitToCharMap[Int(byte % 16)];
114
+ index += 1;
115
+ }
116
+ // Set Null termination.
117
+ buffer[index] = 0;
118
+ // Casts to string (without any copying).
119
+ return String(utf16CodeUnitsNoCopy: buffer,
120
+ count: size, freeWhenDone: true)
121
+ }
122
+
123
+ func toUTF8String() -> String? {
124
+ return String(data: self, encoding: .utf8)
125
+ }
126
+
127
+ func toUint8Array() -> Array<UInt8> {
128
+ return Array(self)
129
+ }
130
+
131
+ func fromBase64() -> Data? {
132
+ // Finally, decode.
133
+ return Data(base64Encoded: self)
134
+ }
135
+
136
+ func sha256() -> Data {
137
+ var hash = [UInt8](repeating: 0, count: Int(CC_SHA256_DIGEST_LENGTH))
138
+ self.withUnsafeBytes {
139
+ _ = CC_SHA256($0.baseAddress, CC_LONG(self.count), &hash)
140
+ }
141
+ return Data(hash)
142
+ }
143
+ }
@@ -12,6 +12,6 @@ var _chainApi = _interopRequireWildcard(require("./protocols/chain-api"));
12
12
  exports.chainApi = _chainApi;
13
13
  var _fxblox = _interopRequireWildcard(require("./protocols/fxblox"));
14
14
  exports.fxblox = _fxblox;
15
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
16
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"..\\..\\src","sources":["index.tsx"],"mappings":""}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("@polkadot/api-base/types/errors");
4
+ //# sourceMappingURL=augment-api-errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["require"],"sourceRoot":"..\\..\\..\\src","sources":["interfaces/augment-api-errors.ts"],"mappings":";;AAKAA,OAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("@polkadot/rpc-core/types/jsonrpc");
4
+ //# sourceMappingURL=augment-api-rpc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["require"],"sourceRoot":"..\\..\\..\\src","sources":["interfaces/augment-api-rpc.ts"],"mappings":";;AAKAA,OAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("@polkadot/api-base/types/calls");
4
+ //# sourceMappingURL=augment-api-runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["require"],"sourceRoot":"..\\..\\..\\src","sources":["interfaces/augment-api-runtime.ts"],"mappings":";;AAKAA,OAAA"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ require("./augment-api-consts.js");
4
+ require("./augment-api-errors.js");
5
+ require("./augment-api-events.js");
6
+ require("./augment-api-query.js");
7
+ require("./augment-api-tx.js");
8
+ require("./augment-api-rpc.js");
9
+ require("./augment-api-runtime.js");
10
+ //# sourceMappingURL=augment-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["require"],"sourceRoot":"..\\..\\..\\src","sources":["interfaces/augment-api.ts"],"mappings":";;AAGAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("@polkadot/types/types/registry");
4
+ //# sourceMappingURL=augment-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["require"],"sourceRoot":"..\\..\\..\\src","sources":["interfaces/augment-types.ts"],"mappings":";;AAKAA,OAAA"}
@@ -14,6 +14,5 @@ const Fula = _reactNative.NativeModules.FulaModule ? _reactNative.NativeModules.
14
14
  throw new Error(LINKING_ERROR);
15
15
  }
16
16
  });
17
- var _default = Fula;
18
- exports.default = _default;
17
+ var _default = exports.default = Fula;
19
18
  //# sourceMappingURL=fulaNativeModule.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","Fula","NativeModules","FulaModule","Proxy","get","Error","_default","exports"],"sourceRoot":"../../../src","sources":["interfaces/fulaNativeModule.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAwGA,MAAMC,aAAa,GAChB,iFAAgF,GACjFC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,6CAA6C;AAE/C,MAAMC,IAAI,GAAGC,0BAAa,CAACC,UAAU,GACjCD,0BAAa,CAACC,UAAU,GACxB,IAAIC,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACV,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAAC,IAAAW,QAAA,GAESN,IAAI;AAAAO,OAAA,CAAAR,OAAA,GAAAO,QAAA"}
1
+ {"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","Fula","NativeModules","FulaModule","Proxy","get","Error","_default","exports"],"sourceRoot":"..\\..\\..\\src","sources":["interfaces/fulaNativeModule.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAgHA,MAAMC,aAAa,GAChB,iFAAgF,GACjFC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,6CAA6C;AAE/C,MAAMC,IAAI,GAAGC,0BAAa,CAACC,UAAU,GACjCD,0BAAa,CAACC,UAAU,GACxB,IAAIC,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACV,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,CAAAR,OAAA,GAESC,IAAI"}
@@ -0,0 +1,6 @@
1
+ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2
+ /* eslint-disable */
3
+
4
+ //export * from './types.ts';
5
+ "use strict";
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"..\\..\\..\\src","sources":["interfaces/index.ts"],"mappings":"AAAA;AACA;;AAEA;AAAA"}