Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions examples/consentmanager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @contentpass/examples-consentmanager

## 0.0.5

### Patch Changes

- Updated dependencies []:
- @contentpass/react-native-contentpass@0.8.0
- @contentpass/react-native-contentpass-cmp-consentmanager@0.1.1
- @contentpass/react-native-contentpass-ui@0.6.1

## 0.0.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/consentmanager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentpass/examples-consentmanager",
"version": "0.0.4",
"version": "0.0.5",
"main": "index.ts",
"scripts": {
"start": "expo start",
Expand Down
5 changes: 5 additions & 0 deletions jest-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jest.mock('react-native-encrypted-storage', () => ({
clear: jest.fn(() => Promise.resolve()),
}));

jest.mock('@sentry/react', () => ({
defaultStackParser: jest.fn(),
makeFetchTransport: jest.fn(),
}));

jest.mock('@sentry/react-native', () => ({
ReactNativeClient: jest.fn().mockReturnValue({
init: jest.fn(),
Expand Down
6 changes: 6 additions & 0 deletions packages/react-native-contentpass/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @contentpass/react-native-contentpass

## 0.8.0

### Minor Changes

- Convert Sentry into a peer dependency

## 0.7.2

### Patch Changes
Expand Down
2 changes: 2 additions & 0 deletions packages/react-native-contentpass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ yarn add @contentpass/react-native-contentpass

The following peer dependencies must be installed:

- [@sentry/react-native](https://github.com/getsentry/sentry-react-native) — error reporting; install a compatible
8.x version selected by your app
- [react](https://github.com/facebook/react)
- [react-native](https://github.com/facebook/react-native)
- [react-native-app-auth](https://github.com/FormidableLabs/react-native-app-auth) — OAuth 2.0 authentication
Expand Down
5 changes: 5 additions & 0 deletions packages/react-native-contentpass/jest-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jest.mock('react-native-encrypted-storage', () => ({
clear: jest.fn(() => Promise.resolve()),
}));

jest.mock('@sentry/react', () => ({
defaultStackParser: jest.fn(),
makeFetchTransport: jest.fn(),
}));

jest.mock('@sentry/react-native', () => ({
ReactNativeClient: jest.fn().mockReturnValue({
init: jest.fn(),
Expand Down
5 changes: 3 additions & 2 deletions packages/react-native-contentpass/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentpass/react-native-contentpass",
"version": "0.7.2",
"version": "0.8.0",
"description": "Contentpass React Native SDK",
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",
Expand Down Expand Up @@ -64,19 +64,20 @@
"access": "public"
},
"peerDependencies": {
"@sentry/react-native": "^8.19.0",
"react": "*",
"react-native": "*",
"react-native-app-auth": "*",
"react-native-encrypted-storage": "*"
},
"dependencies": {
"@sentry/react-native": "^7.11.0",
"react-native-logs": "^5.5.0",
"react-native-uuid": "^2.0.3"
},
"devDependencies": {
"@react-native-community/cli": "20.1.3",
"@react-native/babel-preset": "0.83.6",
"@sentry/react-native": "^8.19.0",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.23",
"@types/react": "^19.2.10",
Expand Down
Loading
Loading