Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 77ee1d3

Browse files
fix(lib): fix RN uuid (#118)
* fix(lib): fix RN uuid * PubNub SDK v0.27.0 release. --------- Co-authored-by: PubNub Release Bot <[email protected]>
1 parent f8606bd commit 77ee1d3

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

.pubnub.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
---
22
name: pubnub-react-chat-components
3-
version: v0.26.0
3+
version: v0.27.0
44
scm: github.com/pubnub/react-chat-components
55
schema: 1
66
files:
77
- lib/dist/index.js
88
- lib/dist/index.es.js
99
changelog:
10+
- date: 2023-04-19
11+
version: v0.27.0
12+
changes:
13+
- type: feature
14+
text: "ReactNative - Fix uuid not being bundled correctly."
1015
- date: 2023-04-18
1116
version: v0.26.0
1217
changes:

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pubnub/common-chat-components",
3-
"version": "0.26.0",
3+
"version": "0.27.0",
44
"main": "src/index.ts",
55
"license": "MIT",
66
"scripts": {

packages/react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pubnub/react-native-chat-components",
3-
"version": "0.26.0",
3+
"version": "0.27.0",
44
"description": "PubNub Chat Components is a development kit of React Native components that aims to help you to easily build Chat applications using PubNub infrastructure. It removes the complexicity of picking an adequate Chat engine, learning its APIs and dealing with its low-level internals. As the same time it allows you to create apps of various use cases, with different functionalities and customizable looks.",
55
"author": "PubNub <[email protected]>",
66
"main": "dist/commonjs/index",

packages/react-native/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import { getBabelOutputPlugin } from "@rollup/plugin-babel";
1212
function loadBrowserCryptoModule() {
1313
return {
1414
name: "browser-crypto-module-resolver",
15-
resolveId(source) {
15+
resolveId(source, importer) {
1616
if (source === "./lib/rng") {
1717
return "../../node_modules/expo-file-system/node_modules/uuid/lib/rng-browser.js";
1818
}
19-
if (source === "./rng") {
19+
if (source === "./rng" && !importer.includes("react-native-uuid")) {
2020
return "../../node_modules/uuid/dist/rng-browser.js";
2121
}
2222
return null;

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pubnub/react-chat-components",
3-
"version": "0.26.0",
3+
"version": "0.27.0",
44
"description": "PubNub Chat Components is a development kit of React components that aims to help you to easily build Chat applications using PubNub infrastructure. It removes the complexicity of picking an adequate Chat engine, learning its APIs and dealing with its low-level internals. As the same time it allows you to create apps of various use cases, with different functionalities and customizable looks.",
55
"author": "PubNub <[email protected]>",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)