@cordystackx/cordy_minikit 0.9.7 → 1.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cordystackx/cordy_minikit",
3
- "version": "0.9.7",
3
+ "version": "1.2.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsc && pnpm run copy-css",
45
- "copy-css": "mkdir -p dist/css/Buttons dist/css/UI_Comp && cp css/Buttons/styles.module.css dist/css/Buttons/ && cp css/UI_Comp/styles.module.css dist/css/UI_Comp/",
45
+ "copy-css": "mkdir -p dist/css/UI_Comp && cp css/UI_Comp/styles.module.css dist/css/UI_Comp/",
46
46
  "release": "pnpm publish --access public"
47
47
  }
48
48
  }
@@ -1,43 +0,0 @@
1
- export default function BaseSepolia(): {
2
- blockExplorers: {
3
- readonly default: {
4
- readonly name: "Basescan";
5
- readonly url: "https://sepolia.basescan.org";
6
- };
7
- };
8
- blockTime?: number | undefined | undefined;
9
- contracts?: {
10
- [x: string]: import("viem").ChainContract | {
11
- [sourceId: number]: import("viem").ChainContract | undefined;
12
- } | undefined;
13
- ensRegistry?: import("viem").ChainContract | undefined;
14
- ensUniversalResolver?: import("viem").ChainContract | undefined;
15
- multicall3?: import("viem").ChainContract | undefined;
16
- erc6492Verifier?: import("viem").ChainContract | undefined;
17
- } | undefined;
18
- ensTlds?: readonly string[] | undefined;
19
- id: 84532;
20
- name: "Base Sepolia";
21
- nativeCurrency: {
22
- readonly name: "Base Sepolia Ether";
23
- readonly symbol: "ETH";
24
- readonly decimals: 18;
25
- };
26
- experimental_preconfirmationTime?: number | undefined | undefined;
27
- rpcUrls: {
28
- readonly default: {
29
- readonly http: readonly [string];
30
- };
31
- readonly public: {
32
- readonly http: readonly [string];
33
- };
34
- };
35
- sourceId?: number | undefined | undefined;
36
- testnet: true;
37
- custom?: Record<string, unknown> | undefined;
38
- fees?: import("viem").ChainFees<undefined> | undefined;
39
- formatters?: undefined;
40
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
41
- readonly network: "base-sepolia";
42
- };
43
- //# sourceMappingURL=base__sepolia.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base__sepolia.d.ts","sourceRoot":"","sources":["../../chains/base__sepolia.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BlC"}
@@ -1,30 +0,0 @@
1
- import { defineChain } from "viem";
2
- export default function BaseSepolia() {
3
- const baseSepolia = defineChain({
4
- id: 84532,
5
- name: 'Base Sepolia',
6
- network: 'base-sepolia',
7
- nativeCurrency: {
8
- name: 'Base Sepolia Ether',
9
- symbol: 'ETH',
10
- decimals: 18,
11
- },
12
- rpcUrls: {
13
- default: {
14
- http: [
15
- process.env.NEXT_PUBLIC_LINK_PROJECT_ID_SEPOLIA || "",
16
- ],
17
- },
18
- public: {
19
- http: [
20
- process.env.NEXT_PUBLIC_LINK_PROJECT_ID_SEPOLIA || "",
21
- ],
22
- },
23
- },
24
- blockExplorers: {
25
- default: { name: 'Basescan', url: 'https://sepolia.basescan.org' },
26
- },
27
- testnet: true,
28
- });
29
- return baseSepolia;
30
- }
@@ -1,40 +0,0 @@
1
- export default function CoreTestnet(): {
2
- blockExplorers: {
3
- readonly default: {
4
- readonly name: "CoreScan";
5
- readonly url: "https://scan.test2.btcs.network";
6
- };
7
- };
8
- blockTime?: number | undefined | undefined;
9
- contracts?: {
10
- [x: string]: import("viem").ChainContract | {
11
- [sourceId: number]: import("viem").ChainContract | undefined;
12
- } | undefined;
13
- ensRegistry?: import("viem").ChainContract | undefined;
14
- ensUniversalResolver?: import("viem").ChainContract | undefined;
15
- multicall3?: import("viem").ChainContract | undefined;
16
- erc6492Verifier?: import("viem").ChainContract | undefined;
17
- } | undefined;
18
- ensTlds?: readonly string[] | undefined;
19
- id: 1114;
20
- name: "tCORE2";
21
- nativeCurrency: {
22
- readonly name: "tCORE2";
23
- readonly symbol: "tCORE2";
24
- readonly decimals: 18;
25
- };
26
- experimental_preconfirmationTime?: number | undefined | undefined;
27
- rpcUrls: {
28
- readonly default: {
29
- readonly http: readonly ["https://rpc.test2.btcs.network"];
30
- };
31
- };
32
- sourceId?: number | undefined | undefined;
33
- testnet: true;
34
- custom?: Record<string, unknown> | undefined;
35
- fees?: import("viem").ChainFees<undefined> | undefined;
36
- formatters?: undefined;
37
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
38
- readonly network: "core-testnet";
39
- };
40
- //# sourceMappingURL=core.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../chains/core.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BlC"}
@@ -1,27 +0,0 @@
1
- import { defineChain } from "viem";
2
- export default function CoreTestnet() {
3
- // Custom Chain
4
- const coreTestnet = defineChain({
5
- id: 1114,
6
- name: 'tCORE2',
7
- network: 'core-testnet',
8
- nativeCurrency: {
9
- name: 'tCORE2',
10
- symbol: 'tCORE2',
11
- decimals: 18,
12
- },
13
- rpcUrls: {
14
- default: {
15
- http: ['https://rpc.test2.btcs.network'],
16
- },
17
- },
18
- blockExplorers: {
19
- default: {
20
- name: 'CoreScan',
21
- url: 'https://scan.test2.btcs.network',
22
- },
23
- },
24
- testnet: true,
25
- });
26
- return coreTestnet;
27
- }
@@ -1,3 +0,0 @@
1
- export { default as CoreTestnet } from './core';
2
- export { default as BaseSepolia } from './base__sepolia';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAC;AAEhD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,3 +0,0 @@
1
- // Chains
2
- export { default as CoreTestnet } from './core';
3
- export { default as BaseSepolia } from './base__sepolia';
@@ -1,2 +0,0 @@
1
- export default function Disconnect(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=Disconnect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Disconnect.d.ts","sourceRoot":"","sources":["../../controllers/Disconnect.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,UAAU,4CAMjC"}
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useDisconnect } from 'wagmi';
3
- export default function Disconnect() {
4
- const { disconnect } = useDisconnect();
5
- return (_jsx("button", { onClick: () => disconnect(), children: "Disconnect" }));
6
- }
@@ -1,40 +0,0 @@
1
- :root {
2
- --foreground_wagmi: #171717;
3
- --background_wagmi: #FAFAFA;
4
- --invert-cordy-image: invert(1);
5
- --invert-cordy-image_1: invert(0);
6
- }
7
-
8
- @media (prefers-color-scheme: dark) {
9
- :root {
10
- --foreground_wagmi: #ededed;
11
- --background_wagmi: #121212;
12
- --invert-cordy-image: invert(0);
13
- --invert-cordy-image_1: invert(1);
14
- }
15
- }
16
-
17
- .button__button {
18
- width: 150px;
19
- padding: 0.8rem;
20
- background-color: var(--foreground_wagmi);
21
- color: var(--background_wagmi);
22
- font-weight: bold;
23
- cursor: pointer;
24
- border: transparent;
25
- transition: all 0.5s ease-in-out;
26
- overflow: hidden;
27
- white-space: nowrap;
28
- text-overflow: ellipsis;
29
- text-align: center;
30
- }
31
- .button__button img {
32
- filter: var(--invert-cordy-image_1);
33
- }
34
-
35
- .button__button:hover {
36
- opacity: 0.5;
37
- }
38
- .button__button:active {
39
- transform: scale(0.6);
40
- }