edfapay-softpos-sdk-rn 1.0.5-dev.7 → 1.0.5-dev.8

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.
@@ -1,8 +1,22 @@
1
1
  "use strict";
2
2
 
3
+ let version = 'v0.0.0';
4
+ try {
5
+ // when file is inside /lib
6
+ version = 'v' + require('../package.json').version;
7
+ } catch (e1) {
8
+ try {
9
+ // fallback if structure differs (e.g. nested build output)
10
+ version = 'v' + require('../../package.json').version;
11
+ } catch (e2) {
12
+ // final fallback
13
+ console.warn('Unable to resolve SDK version');
14
+ }
15
+ }
16
+ export const VERSION = version;
3
17
  export const EPStrings = {
4
18
  sdk: 'SDK',
5
- version: 'v0.1.2',
19
+ version: 'v' + version,
6
20
  message: "You\'re on your way to enabling your Android App to allow your customers to pay in a very easy and simple way just click the payment button and tap your payment card on NFC enabled Android phone."
7
21
  };
8
22
  //# sourceMappingURL=EPStrings.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["EPStrings","sdk","version","message"],"sourceRoot":"../../src","sources":["EPStrings.tsx"],"mappings":";;AAAA,OAAO,MAAMA,SAAS,GAAG;EACvBC,GAAG,EAAE,KAAK;EACVC,OAAO,EAAE,QAAQ;EACjBC,OAAO,EACL;AACJ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["version","require","e1","e2","console","warn","VERSION","EPStrings","sdk","message"],"sourceRoot":"../../src","sources":["EPStrings.tsx"],"mappings":";;AAAA,IAAIA,OAAO,GAAG,QAAQ;AAEtB,IAAI;EACF;EACAA,OAAO,GAAG,GAAG,GAAGC,OAAO,CAAC,iBAAiB,CAAC,CAACD,OAAO;AACpD,CAAC,CAAC,OAAOE,EAAE,EAAE;EACX,IAAI;IACF;IACAF,OAAO,GAAG,GAAG,GAAGC,OAAO,CAAC,oBAAoB,CAAC,CAACD,OAAO;EACvD,CAAC,CAAC,OAAOG,EAAE,EAAE;IACX;IACAC,OAAO,CAACC,IAAI,CAAC,+BAA+B,CAAC;EAC/C;AACF;AAEA,OAAO,MAAMC,OAAO,GAAGN,OAAO;AAE9B,OAAO,MAAMO,SAAS,GAAG;EACvBC,GAAG,EAAE,KAAK;EACVR,OAAO,EAAE,GAAG,GAAGA,OAAO;EACtBS,OAAO,EACL;AACJ,CAAC","ignoreList":[]}
@@ -1,3 +1,4 @@
1
+ export declare const VERSION: string;
1
2
  export declare const EPStrings: {
2
3
  sdk: string;
3
4
  version: string;
@@ -1 +1 @@
1
- {"version":3,"file":"EPStrings.d.ts","sourceRoot":"","sources":["../../../src/EPStrings.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;CAKrB,CAAC"}
1
+ {"version":3,"file":"EPStrings.d.ts","sourceRoot":"","sources":["../../../src/EPStrings.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,OAAO,QAAU,CAAC;AAE/B,eAAO,MAAM,SAAS;;;;CAKrB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edfapay-softpos-sdk-rn",
3
- "version": "1.0.5-dev.7",
3
+ "version": "1.0.5-dev.8",
4
4
  "description": "Edfapay SoftPOS SDK helps developer to easily integrate Edfapay SoftPOS to their mobile application",
5
5
  "scope": "edfapay/edfapay-softpos-sdk-rn",
6
6
  "main": "./lib/module/index.js",
Binary file