@tuwaio/sdk 0.6.12 → 0.7.0

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 CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  - **One version to install:** the TUWA packages and the libraries they share (`zustand`, `immer`, `framer-motion`, Radix UI, `react-toastify`, `dayjs`) are dependencies of `@tuwaio/sdk`, so a release of the SDK pins a set of TUWA versions that work together. `react` and `react-dom` are peer dependencies: the app keeps one copy of React.
13
13
  - **Subpaths:** every subpath re-exports one entry point of a TUWA package, unchanged (see [Subpaths](#-subpaths)). Its reference is on the site of that package.
14
- - **Stylesheets:** `@tuwaio/sdk/styles/*.css` are copies of the compiled stylesheets of Nova Core, Nova Connect and Nova Transactions. The app does not need Tailwind CSS.
14
+ - **Stylesheets:** `@tuwaio/sdk/styles/*.css` are copies of the compiled stylesheets of Nova Core, Nova Connect and Nova Transactions, with the fonts of Nova Core next to them in `dist/styles/fonts`. The app does not need Tailwind CSS.
15
15
 
16
16
  ---
17
17
 
@@ -70,6 +70,8 @@ Import the stylesheets once, for example in the global CSS file of the app:
70
70
 
71
71
  `@tuwaio/sdk/nova-connect/evm` and `@tuwaio/sdk/nova-connect/solana` re-export the chain entry points of Nova Connect for the add-ons; import them as `@tuwaio/evm-sdk/nova-connect` and `@tuwaio/solana-sdk/nova-connect`. They need the chain packages that the add-ons install, and going through `@tuwaio/sdk` makes their chain registration and types apply to the same copy of Nova Connect and Satellite React as the other subpaths.
72
72
 
73
+ `@tuwaio/sdk/satellite/react` re-exports `@tuwaio/satellite-react` with its own names, for [`@tuwaio/payments-sdk`](https://payments.docs.tuwa.io/?path=/docs/packages-payments-sdk-overview--docs): the Payments module takes Nova, Satellite, Pulsar and Orbit from the subpaths of this package, so an app has one copy of each. Payments are not part of this package: apps without them install nothing of it.
74
+
73
75
  ---
74
76
 
75
77
  ## 🚀 Usage
@@ -13,8 +13,8 @@ import '@tuwaio/nova-transactions';
13
13
  import '@tuwaio/orbit-core';
14
14
  import '@tuwaio/pulsar-core';
15
15
  import '@tuwaio/pulsar-react';
16
- import '@tuwaio/satellite-core';
17
16
  import '@tuwaio/satellite-react';
17
+ import '@tuwaio/satellite-core';
18
18
  import '@tuwaio/siwx-core';
19
19
  import '@tuwaio/siwx-server/next';
20
20
  import '@tuwaio/siwx-server';
@@ -13,8 +13,8 @@ import '@tuwaio/nova-transactions';
13
13
  import '@tuwaio/orbit-core';
14
14
  import '@tuwaio/pulsar-core';
15
15
  import '@tuwaio/pulsar-react';
16
- import '@tuwaio/satellite-core';
17
16
  import '@tuwaio/satellite-react';
17
+ import '@tuwaio/satellite-core';
18
18
  import '@tuwaio/siwx-core';
19
19
  import '@tuwaio/siwx-server/next';
20
20
  import '@tuwaio/siwx-server';
@@ -0,0 +1 @@
1
+ 'use strict';var satelliteReact=require('@tuwaio/satellite-react');Object.keys(satelliteReact).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return satelliteReact[k]}})});
@@ -0,0 +1 @@
1
+ export * from '@tuwaio/satellite-react';
@@ -0,0 +1 @@
1
+ export * from '@tuwaio/satellite-react';
@@ -0,0 +1 @@
1
+ export*from'@tuwaio/satellite-react';