react-native-smallcase-gateway 3.1.1 → 3.1.3
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.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [3.1.3](https://github.com/smallcase/react-native-smallcase-gateway/compare/v3.1.3-internal-1...v3.1.3) (2024-06-19)
|
|
6
|
+
|
|
7
|
+
### [3.1.2](https://github.com/smallcase/react-native-smallcase-gateway/compare/v3.1.1...v3.1.2) (2024-05-14)
|
|
8
|
+
|
|
5
9
|
### [3.1.1](https://github.com/smallcase/react-native-smallcase-gateway/compare/v3.1.0...v3.1.1) (2024-05-14)
|
|
6
10
|
|
|
7
11
|
## [3.1.0](https://github.com/smallcase/react-native-smallcase-gateway/compare/v3.0.1...v3.1.0) (2024-04-26)
|
package/android/build.gradle
CHANGED
|
@@ -150,7 +150,7 @@ dependencies {
|
|
|
150
150
|
//noinspection GradleDynamicVersion
|
|
151
151
|
implementation 'com.facebook.react:react-native:+' // From node_modules
|
|
152
152
|
implementation 'com.smallcase.gateway:sdk:3.13.1'
|
|
153
|
-
implementation 'com.smallcase.loans:sdk:2.1.
|
|
153
|
+
implementation 'com.smallcase.loans:sdk:2.1.5'
|
|
154
154
|
implementation "androidx.core:core-ktx:1.3.1"
|
|
155
155
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
156
156
|
}
|
package/lib/commonjs/index.js
CHANGED
|
@@ -13,7 +13,7 @@ exports.default = void 0;
|
|
|
13
13
|
var _SmallcaseGateway = _interopRequireDefault(require("./SmallcaseGateway"));
|
|
14
14
|
var _ScLoan = _interopRequireDefault(require("./ScLoan"));
|
|
15
15
|
var _constants = require("./constants");
|
|
16
|
-
function _interopRequireDefault(
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
17
|
var _default = exports.default = {
|
|
18
18
|
..._SmallcaseGateway.default,
|
|
19
19
|
ENV: _constants.ENV,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_SmallcaseGateway","_interopRequireDefault","require","_ScLoan","_constants","
|
|
1
|
+
{"version":3,"names":["_SmallcaseGateway","_interopRequireDefault","require","_ScLoan","_constants","e","__esModule","default","_default","exports","SmallcaseGateway","ENV","ERROR_MSG","TRANSACTION_TYPE"],"sources":["index.js"],"sourcesContent":["import SmallcaseGateway from \"./SmallcaseGateway\";\nimport ScLoan from \"./ScLoan\";\nimport { ENV, TRANSACTION_TYPE, ERROR_MSG } from \"./constants\";\n\nexport { ScLoan }\nexport default { ...SmallcaseGateway, ENV, ERROR_MSG, TRANSACTION_TYPE };\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAA+D,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAGhD;EAAE,GAAGG,yBAAgB;EAAEC,GAAG,EAAHA,cAAG;EAAEC,SAAS,EAATA,oBAAS;EAAEC,gBAAgB,EAAhBA;AAAiB,CAAC","ignoreList":[]}
|
package/lib/commonjs/util.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["safeObject","obj","exports","platformSpecificColorHex","hex","Platform","OS"],"sources":["util.js"],"sourcesContent":["/**\n * check if value is a valid object.\n *\n *\n * (Native modules expect objects to not include `null`. wtf js)\n * @param {*} obj\n * @returns {Object} same object if its valid, else returns `{}`\n */\n export const safeObject = (obj) => {\n return obj && typeof obj === \"object\" ? obj : {};\n};\n\nexport function platformSpecificColorHex(hex) {\n if (Platform.OS === 'android') {\n return `#${hex}`\n }\n return hex\n}\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACQ,MAAMA,UAAU,GAAIC,GAAG,IAAK;EAClC,OAAOA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,GAAGA,GAAG,GAAG,CAAC,CAAC;AAClD,CAAC;AAACC,OAAA,CAAAF,UAAA,GAAAA,UAAA;AAEK,SAASG,wBAAwBA,CAACC,GAAG,EAAE;EAC5C,IAAIC,QAAQ,CAACC,EAAE,KAAK,SAAS,EAAE;IAC7B,
|
|
1
|
+
{"version":3,"names":["safeObject","obj","exports","platformSpecificColorHex","hex","Platform","OS"],"sources":["util.js"],"sourcesContent":["/**\n * check if value is a valid object.\n *\n *\n * (Native modules expect objects to not include `null`. wtf js)\n * @param {*} obj\n * @returns {Object} same object if its valid, else returns `{}`\n */\n export const safeObject = (obj) => {\n return obj && typeof obj === \"object\" ? obj : {};\n};\n\nexport function platformSpecificColorHex(hex) {\n if (Platform.OS === 'android') {\n return `#${hex}`\n }\n return hex\n}\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACQ,MAAMA,UAAU,GAAIC,GAAG,IAAK;EAClC,OAAOA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,GAAGA,GAAG,GAAG,CAAC,CAAC;AAClD,CAAC;AAACC,OAAA,CAAAF,UAAA,GAAAA,UAAA;AAEK,SAASG,wBAAwBA,CAACC,GAAG,EAAE;EAC5C,IAAIC,QAAQ,CAACC,EAAE,KAAK,SAAS,EAAE;IAC7B,OAAO,IAAIF,GAAG,EAAE;EAClB;EACA,OAAOA,GAAG;AACZ","ignoreList":[]}
|
package/lib/module/util.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["safeObject","obj","platformSpecificColorHex","hex","Platform","OS"],"sources":["util.js"],"sourcesContent":["/**\n * check if value is a valid object.\n *\n *\n * (Native modules expect objects to not include `null`. wtf js)\n * @param {*} obj\n * @returns {Object} same object if its valid, else returns `{}`\n */\n export const safeObject = (obj) => {\n return obj && typeof obj === \"object\" ? obj : {};\n};\n\nexport function platformSpecificColorHex(hex) {\n if (Platform.OS === 'android') {\n return `#${hex}`\n }\n return hex\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACC,OAAO,MAAMA,UAAU,GAAIC,GAAG,IAAK;EAClC,OAAOA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,GAAGA,GAAG,GAAG,CAAC,CAAC;AAClD,CAAC;AAED,OAAO,SAASC,wBAAwBA,CAACC,GAAG,EAAE;EAC5C,IAAIC,QAAQ,CAACC,EAAE,KAAK,SAAS,EAAE;IAC7B,
|
|
1
|
+
{"version":3,"names":["safeObject","obj","platformSpecificColorHex","hex","Platform","OS"],"sources":["util.js"],"sourcesContent":["/**\n * check if value is a valid object.\n *\n *\n * (Native modules expect objects to not include `null`. wtf js)\n * @param {*} obj\n * @returns {Object} same object if its valid, else returns `{}`\n */\n export const safeObject = (obj) => {\n return obj && typeof obj === \"object\" ? obj : {};\n};\n\nexport function platformSpecificColorHex(hex) {\n if (Platform.OS === 'android') {\n return `#${hex}`\n }\n return hex\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACC,OAAO,MAAMA,UAAU,GAAIC,GAAG,IAAK;EAClC,OAAOA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,GAAGA,GAAG,GAAG,CAAC,CAAC;AAClD,CAAC;AAED,OAAO,SAASC,wBAAwBA,CAACC,GAAG,EAAE;EAC5C,IAAIC,QAAQ,CAACC,EAAE,KAAK,SAAS,EAAE;IAC7B,OAAO,IAAIF,GAAG,EAAE;EAClB;EACA,OAAOA,GAAG;AACZ","ignoreList":[]}
|
package/package.json
CHANGED