@coinbase/cdp-react-native 0.0.0 → 0.0.1

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 ADDED
@@ -0,0 +1,4 @@
1
+ # cdp-react-native
2
+
3
+ This package contains ready-made, customizable React Native UI components that wrap
4
+ the CDP frontend SDK.
@@ -0,0 +1,6 @@
1
+ import { Component as t } from "./index2.js";
2
+ const o = "world";
3
+ export {
4
+ t as Component,
5
+ o as hello
6
+ };
@@ -0,0 +1,5 @@
1
+ import e from "react";
2
+ const t = () => /* @__PURE__ */ e.createElement("div", null, "Hello, world!");
3
+ export {
4
+ t as Component
5
+ };
@@ -0,0 +1,7 @@
1
+ import { default as default_2 } from 'react';
2
+
3
+ export declare const Component: () => default_2.JSX.Element;
4
+
5
+ export declare const hello = "world";
6
+
7
+ export { }
package/package.json CHANGED
@@ -1,8 +1,35 @@
1
1
  {
2
2
  "name": "@coinbase/cdp-react-native",
3
- "version": "0.0.0",
4
- "description": "Placeholder package",
5
- "main": "index.js",
6
- "author": "Coinbase Inc.",
7
- "license": "Apache-2.0"
8
- }
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "peerDependencies": {
6
+ "react": ">=18.2.0"
7
+ },
8
+ "devDependencies": {
9
+ "react": "^19.1.0",
10
+ "react-dom": "^19.1.0"
11
+ },
12
+ "files": [
13
+ "dist/**",
14
+ "!dist/**/*.tsbuildinfo",
15
+ "src/**/*.ts",
16
+ "!src/**/*.test.ts",
17
+ "!src/**/*.test-d.ts"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/types/index.d.ts",
22
+ "default": "./dist/esm/index.js"
23
+ }
24
+ },
25
+ "scripts": {
26
+ "build": "pnpm run check:types && vite build --config ../../vite.config.base.ts",
27
+ "build:watch": "vite build --config ../../vite.config.base.ts --watch",
28
+ "check:types": "tsc --noEmit",
29
+ "clean": "rm -rf dist",
30
+ "clean:all": "pnpm clean && rm -rf node_modules",
31
+ "size-limit": "size-limit",
32
+ "test": "vitest",
33
+ "test:run": "vitest --run"
34
+ }
35
+ }
package/src/index.ts ADDED
@@ -0,0 +1,3 @@
1
+ export { Component } from "./component.jsx";
2
+
3
+ export const hello = "world";
package/index.js DELETED
@@ -1 +0,0 @@
1
- console.log("Temporary package");