cobrowse-sdk-react-native 2.9.1 → 2.10.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.
- package/README.md +8 -0
- package/android/build.gradle +1 -1
- package/cobrowse-sdk-react-native.podspec +1 -1
- package/package.json +8 -8
- package/ts/CobrowseIO.d.ts +0 -3
- package/CHANGELOG.md +0 -44
package/README.md
CHANGED
|
@@ -53,3 +53,11 @@ Any questions at all? Please email us directly at [hello@cobrowse.io](mailto:hel
|
|
|
53
53
|
|
|
54
54
|
* iOS 9.0 or later
|
|
55
55
|
* Android API version 19 (4.4 KitKat) or later
|
|
56
|
+
|
|
57
|
+
## Deployment
|
|
58
|
+
|
|
59
|
+
This SDK is only available via NPM. To deploy a new version:
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
npm publish
|
|
63
|
+
```
|
package/android/build.gradle
CHANGED
|
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
|
|
|
12
12
|
s.source = { :git => 'https://github.com/cobrowseio/cobrowse-sdk-react-native.git' }
|
|
13
13
|
s.platform = :ios, '9.0'
|
|
14
14
|
|
|
15
|
-
s.dependency 'CobrowseIO/Framework', '2.16.
|
|
15
|
+
s.dependency 'CobrowseIO/Framework', '2.16.2'
|
|
16
16
|
s.dependency 'React'
|
|
17
17
|
s.source_files = 'ios/*.{h,m}'
|
|
18
18
|
end
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cobrowse-sdk-react-native",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "Cobrowse SDK for React Native",
|
|
5
5
|
"main": "js/index.js",
|
|
6
6
|
"types": "ts/index.d.ts",
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
],
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"@types/react": "^17.0.
|
|
32
|
-
"@types/react-native": "^0.
|
|
31
|
+
"@types/react": "^17.0.38",
|
|
32
|
+
"@types/react-native": "^0.66.15"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@types/react": "^17.0.
|
|
37
|
-
"@types/react-native": "^0.
|
|
38
|
-
"managed-service-daemon": "^1.2.
|
|
36
|
+
"@types/react": "^17.0.38",
|
|
37
|
+
"@types/react-native": "^0.66.15",
|
|
38
|
+
"managed-service-daemon": "^1.2.1",
|
|
39
39
|
"nodemon": "^2.0.15",
|
|
40
|
-
"ts-standard": "^
|
|
41
|
-
"typescript": "^4.
|
|
40
|
+
"ts-standard": "^11.0.0",
|
|
41
|
+
"typescript": "^4.5.5",
|
|
42
42
|
"watchr": "^6.11.0"
|
|
43
43
|
}
|
|
44
44
|
}
|
package/ts/CobrowseIO.d.ts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-extraneous-class,accessor-pairs */
|
|
2
2
|
import type { EmitterSubscription } from 'react-native'
|
|
3
3
|
import Session from './Session'
|
|
4
|
-
import CobrowseAccessibilityService from './CobrowseAccessibilityService'
|
|
5
4
|
|
|
6
5
|
export type NativeSessionEvent = 'session.updated' | 'session.ended'
|
|
7
6
|
|
|
8
7
|
export default class CobrowseIO {
|
|
9
|
-
static get accessibilityService (): CobrowseAccessibilityService
|
|
10
|
-
|
|
11
8
|
static handleSessionRequest (session?: Session): void
|
|
12
9
|
|
|
13
10
|
static addListener (eventType: NativeSessionEvent, listener: (session: Session) => void): EmitterSubscription
|
package/CHANGELOG.md
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
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
|
-
|
|
5
|
-
## [2.9.0](https://github.com/cobrowseio/cobrowse-sdk-react-native/compare/v2.8.0...v2.9.0) (2021-11-17)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* Add support for custom remote control consent prompts ([95e1f36](https://github.com/cobrowseio/cobrowse-sdk-react-native/commit/95e1f361e5c18f8f1ffb7ae6477525aab055cd7c))
|
|
11
|
-
|
|
12
|
-
## [2.8.0](https://github.com/cobrowseio/cobrowse-sdk-react-native/compare/v2.6.0...v2.8.0) (2021-11-17)
|
|
13
|
-
|
|
14
|
-
### Features
|
|
15
|
-
|
|
16
|
-
* Added APIs to control full device and remote control state, e.g. `session.setFullDevice(true)`
|
|
17
|
-
* Added TypeScript definitions
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## [2.6.0](https://github.com/cobrowseio/cobrowse-sdk-react-native/compare/v2.5.2...v2.6.0) (2021-06-14)
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### Features
|
|
24
|
-
|
|
25
|
-
* allow styling of redacted component ([614b64e](https://github.com/cobrowseio/cobrowse-sdk-react-native/commit/614b64e56a127aec693077f336935c628b609117))
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
### Bug Fixes
|
|
29
|
-
|
|
30
|
-
* fix for Undefined symbols error (_OBJC_CLASS_$_RCTEventDispatcher) ([d66ef6d](https://github.com/cobrowseio/cobrowse-sdk-react-native/commit/d66ef6d6767b567db524865e002867718ca6301a))
|
|
31
|
-
|
|
32
|
-
## [2.1.0] - 2019-04-26
|
|
33
|
-
|
|
34
|
-
### Features
|
|
35
|
-
|
|
36
|
-
- Added `handleSessionRequest` API to `CobrowseIO`
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
## [2.0.0] - 2019-04-24
|
|
40
|
-
|
|
41
|
-
### Features
|
|
42
|
-
- Switched to promises for all methods that previously took callback (e.g. `createSession`, `endSession`, `currentSession`)
|
|
43
|
-
- Updated example project to RN 0.59
|
|
44
|
-
- Renamed `loadSession` to `getSession` to match other SDKs
|