@chromia/react
Advanced tools
Comparing version 0.1.1-beta.1 to 0.2.0-beta.1
@@ -7,3 +7,5 @@ All notable changes to this project will be documented in this file. | ||
## [0.1.1] - 2024-04-24 | ||
## [0.2.0] - 2024-04-24 | ||
### Added | ||
- add usePostchainClient hook | ||
### Dev | ||
@@ -10,0 +12,0 @@ - Fix finding latest release type for first release |
@@ -1,4 +0,2 @@ | ||
export declare const HelloWorld: React.FC<{ | ||
name: string; | ||
}>; | ||
export * from "./hooks"; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HelloWorld = void 0; | ||
const jsx_runtime_1 = require("react/jsx-runtime"); | ||
const HelloWorld = ({ name }) => { | ||
return (0, jsx_runtime_1.jsxs)("h1", { children: ["Hello Hello", name] }); | ||
}; | ||
exports.HelloWorld = HelloWorld; | ||
__exportStar(require("./hooks"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,5 @@ | ||
import { HelloWorld } from "."; | ||
import type { StoryObj, Meta } from "@storybook/react"; | ||
declare const HelloWorld: React.FC<{ | ||
name: string; | ||
}>; | ||
declare const meta: Meta<typeof HelloWorld>; | ||
@@ -4,0 +6,0 @@ export default meta; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Default = void 0; | ||
const _1 = require("."); | ||
const jsx_runtime_1 = require("react/jsx-runtime"); | ||
const HelloWorld = ({ name }) => { | ||
return (0, jsx_runtime_1.jsxs)("h1", { children: ["Hello Hello", name] }); | ||
}; | ||
const meta = { | ||
title: "HelloWorld", | ||
component: _1.HelloWorld, | ||
component: HelloWorld, | ||
tags: ["autodocs"], | ||
@@ -9,0 +12,0 @@ args: { |
@@ -1,4 +0,2 @@ | ||
export declare const HelloWorld: React.FC<{ | ||
name: string; | ||
}>; | ||
export * from "./hooks"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,5 +0,2 @@ | ||
import { jsxs as _jsxs } from "react/jsx-runtime"; | ||
export const HelloWorld = ({ name }) => { | ||
return _jsxs("h1", { children: ["Hello Hello", name] }); | ||
}; | ||
export * from "./hooks/index.js"; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,5 @@ | ||
import { HelloWorld } from "."; | ||
import type { StoryObj, Meta } from "@storybook/react"; | ||
declare const HelloWorld: React.FC<{ | ||
name: string; | ||
}>; | ||
declare const meta: Meta<typeof HelloWorld>; | ||
@@ -4,0 +6,0 @@ export default meta; |
@@ -1,2 +0,5 @@ | ||
import { HelloWorld } from "."; | ||
import { jsxs as _jsxs } from "react/jsx-runtime"; | ||
const HelloWorld = ({ name }) => { | ||
return _jsxs("h1", { children: ["Hello Hello", name] }); | ||
}; | ||
const meta = { | ||
@@ -3,0 +6,0 @@ title: "HelloWorld", |
{ | ||
"name": "@chromia/react", | ||
"version": "0.1.1-beta.1", | ||
"version": "0.2.0-beta.1", | ||
"license": "Apache-2.0", | ||
@@ -34,3 +34,5 @@ "scripts": { | ||
"module": "./esm/index.js", | ||
"dependencies": {}, | ||
"dependencies": { | ||
"swr": "^2.2.5" | ||
}, | ||
"devDependencies": { | ||
@@ -78,2 +80,3 @@ "@babel/core": "^7.22.1", | ||
"node-fetch": "^2.6.7", | ||
"postchain-client": "^1.15.2", | ||
"prettier": "^2.8.8", | ||
@@ -89,2 +92,3 @@ "react": "^18.2.0", | ||
"peerDependencies": { | ||
"postchain-client": "^1.15.2", | ||
"react": "^18.2.0", | ||
@@ -91,0 +95,0 @@ "react-dom": "^18.2.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19748
42
232
4
50
1
+ Addedswr@^2.2.5
+ Added@chromia/asn1@1.0.1(transitive)
+ Added@types/bn.js@5.1.6(transitive)
+ Added@types/node@22.10.5(transitive)
+ Addedasn1.js@4.10.1(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbn.js@4.12.15.2.1(transitive)
+ Addedbrorand@1.1.0(transitive)
+ Addedbrowserify-aes@1.2.0(transitive)
+ Addedbrowserify-cipher@1.0.1(transitive)
+ Addedbrowserify-des@1.0.2(transitive)
+ Addedbrowserify-rsa@4.1.1(transitive)
+ Addedbrowserify-sign@4.2.3(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addedbuffer-xor@1.0.3(transitive)
+ Addedcipher-base@1.0.6(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedcreate-ecdh@4.0.4(transitive)
+ Addedcreate-hash@1.2.0(transitive)
+ Addedcreate-hmac@1.1.7(transitive)
+ Addedcrypto-browserify@3.12.1(transitive)
+ Addeddequal@2.0.3(transitive)
+ Addeddes.js@1.1.0(transitive)
+ Addeddiffie-hellman@5.0.3(transitive)
+ Addedelliptic@6.6.1(transitive)
+ Addedevents@3.3.0(transitive)
+ Addedevp_bytestokey@1.0.3(transitive)
+ Addedhash-base@3.0.5(transitive)
+ Addedhash.js@1.1.7(transitive)
+ Addedhmac-drbg@1.0.1(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedmd5.js@1.3.5(transitive)
+ Addedmiller-rabin@4.0.1(transitive)
+ Addedminimalistic-assert@1.0.1(transitive)
+ Addedminimalistic-crypto-utils@1.0.1(transitive)
+ Addednode-addon-api@5.1.0(transitive)
+ Addednode-gyp-build@4.8.4(transitive)
+ Addedparse-asn1@5.1.7(transitive)
+ Addedpbkdf2@3.1.2(transitive)
+ Addedpostchain-client@1.20.2(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedpublic-encrypt@4.0.3(transitive)
+ Addedrandombytes@2.1.0(transitive)
+ Addedrandomfill@1.0.4(transitive)
+ Addedreadable-stream@2.3.83.6.2(transitive)
+ Addedripemd160@2.0.2(transitive)
+ Addedsafe-buffer@5.1.25.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsecp256k1@4.0.4(transitive)
+ Addedsha.js@2.4.11(transitive)
+ Addedstream-browserify@3.0.0(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedswr@2.3.0(transitive)
+ Addedundici-types@6.20.0(transitive)
+ Addeduse-sync-external-store@1.4.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedzod@3.24.1(transitive)