@oscilar/react-native-oscilar-module 0.1.4 → 2.1.6
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/OscilarModule.podspec +3 -1
- package/README.md +2 -2
- package/android/Osclib-release-protected.aar +0 -0
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/package.json +2 -1
- package/src/index.tsx +1 -1
package/OscilarModule.podspec
CHANGED
|
@@ -16,7 +16,9 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
18
18
|
|
|
19
|
-
s.dependency "OscilarSDK"
|
|
19
|
+
s.dependency "OscilarSDK", '2.1.6'
|
|
20
|
+
|
|
21
|
+
s.ios.deployment_target = '15.0'
|
|
20
22
|
|
|
21
23
|
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
|
|
22
24
|
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
|
package/README.md
CHANGED
|
@@ -5,14 +5,14 @@ Oscilar module for React Native
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install react-native-oscilar-module
|
|
8
|
+
npm install @oscilar/react-native-oscilar-module --save
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
```js
|
|
15
|
-
import { initOscilar, generateTransactionID } from 'react-native-oscilar-module';
|
|
15
|
+
import { initOscilar, generateTransactionID } from '@oscilar/react-native-oscilar-module';
|
|
16
16
|
|
|
17
17
|
// App initialization
|
|
18
18
|
|
|
Binary file
|
package/lib/commonjs/index.js
CHANGED
|
@@ -11,7 +11,7 @@ exports.initOscilar = initOscilar;
|
|
|
11
11
|
exports.startWithClientKey = startWithClientKey;
|
|
12
12
|
exports.startWithClientKeyAndServerURL = startWithClientKeyAndServerURL;
|
|
13
13
|
var _reactNative = require("react-native");
|
|
14
|
-
const LINKING_ERROR = `The package 'react-native-oscilar-module' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
|
|
14
|
+
const LINKING_ERROR = `The package '@oscilar/react-native-oscilar-module' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
|
|
15
15
|
ios: "- You have run 'pod install'\n",
|
|
16
16
|
default: ''
|
|
17
17
|
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","OscilarModule","NativeModules","Proxy","get","Error","initOscilar","clientKey","OS","startWithClientKey","startWithClientKeyAndServerURL","serverURL","generateTransactionID","generateTransactionIDWithFlowType","flowType","generateTransactionIDWithUserInfo","usernameHash","userEmailHash","custom","generateTransactionIDWithFlowTypeAndUserInfo"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,aAAa,GACjB,
|
|
1
|
+
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","OscilarModule","NativeModules","Proxy","get","Error","initOscilar","clientKey","OS","startWithClientKey","startWithClientKeyAndServerURL","serverURL","generateTransactionID","generateTransactionIDWithFlowType","flowType","generateTransactionIDWithUserInfo","usernameHash","userEmailHash","custom","generateTransactionIDWithFlowTypeAndUserInfo"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,aAAa,GACjB,+FAA+F,GAC/FC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEj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|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { NativeModules, Platform } from 'react-native';
|
|
4
|
-
const LINKING_ERROR = `The package 'react-native-oscilar-module' doesn't seem to be linked. Make sure: \n\n` + Platform.select({
|
|
4
|
+
const LINKING_ERROR = `The package '@oscilar/react-native-oscilar-module' doesn't seem to be linked. Make sure: \n\n` + Platform.select({
|
|
5
5
|
ios: "- You have run 'pod install'\n",
|
|
6
6
|
default: ''
|
|
7
7
|
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","OscilarModule","Proxy","get","Error","initOscilar","clientKey","OS","startWithClientKey","startWithClientKeyAndServerURL","serverURL","generateTransactionID","generateTransactionIDWithFlowType","flowType","generateTransactionIDWithUserInfo","usernameHash","userEmailHash","custom","generateTransactionIDWithFlowTypeAndUserInfo"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AAEtD,MAAMC,aAAa,GACjB,
|
|
1
|
+
{"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","OscilarModule","Proxy","get","Error","initOscilar","clientKey","OS","startWithClientKey","startWithClientKeyAndServerURL","serverURL","generateTransactionID","generateTransactionIDWithFlowType","flowType","generateTransactionIDWithUserInfo","usernameHash","userEmailHash","custom","generateTransactionIDWithFlowTypeAndUserInfo"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AAEtD,MAAMC,aAAa,GACjB,+FAA+F,GAC/FD,QAAQ,CAACE,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,aAAa,GAAGN,aAA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1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oscilar/react-native-oscilar-module",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "Oscilar module for React Native",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@commitlint/config-conventional": "^17.0.2",
|
|
69
69
|
"@evilmartians/lefthook": "^1.5.0",
|
|
70
|
+
"@react-native-community/cli": "latest",
|
|
70
71
|
"@react-native/eslint-config": "^0.73.1",
|
|
71
72
|
"@release-it/conventional-changelog": "^9.0.2",
|
|
72
73
|
"@types/jest": "^29.5.5",
|
package/src/index.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NativeModules, Platform } from 'react-native';
|
|
2
2
|
|
|
3
3
|
const LINKING_ERROR =
|
|
4
|
-
`The package 'react-native-oscilar-module' doesn't seem to be linked. Make sure: \n\n` +
|
|
4
|
+
`The package '@oscilar/react-native-oscilar-module' doesn't seem to be linked. Make sure: \n\n` +
|
|
5
5
|
Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
|
|
6
6
|
'- You rebuilt the app after installing the package\n' +
|
|
7
7
|
'- You are not using Expo Go\n';
|