@thalalabs/surf 0.0.1 → 0.0.2

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
@@ -9,28 +9,19 @@
9
9
  <p>
10
10
 
11
11
  <p align="center">
12
- <a href="https://www.npmjs.com/package/viem">
12
+ <a href="https://www.npmjs.com/package/@thalalabs/surf">
13
13
  <picture>
14
- <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/v/viem?colorA=21262d&colorB=21262d&style=flat">
15
- <img src="https://img.shields.io/npm/v/viem?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Version">
16
- </picture>
17
- </a>
18
- <a href="https://app.codecov.io/gh/wagmi-dev/viem">
19
- <picture>
20
- <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/codecov/c/github/wagmi-dev/viem?colorA=21262d&colorB=21262d&style=flat">
21
- <img src="https://img.shields.io/codecov/c/github/wagmi-dev/viem?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="Code coverage">
14
+ <img src="https://img.shields.io/npm/v/@thalalabs/surf?colorA=2c8af7&colorB=2c8af7&style=flat" alt="Version">
22
15
  </picture>
23
16
  </a>
24
17
  <a href="https://github.com/ThalaLabs/surf/blob/main/LICENSE">
25
18
  <picture>
26
- <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/npm/l/viem?colorA=21262d&colorB=21262d&style=flat">
27
- <img src="https://img.shields.io/npm/l/viem?colorA=f6f8fa&colorB=f6f8fa&style=flat" alt="MIT License">
19
+ <img src="https://img.shields.io/npm/l/@thalalabs/surf?colorA=2c8af7&colorB=2c8af7&style=flat" alt="MIT License">
28
20
  </picture>
29
21
  </a>
30
- <a href="https://bestofjs.org/projects/viem">
22
+ <a href="https://bundlephobia.com/package/@thalalabs/surf">
31
23
  <picture>
32
- <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/endpoint?colorA=21262d&colorB=21262d&style=flat&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wagmi-dev%2Fviem%26since=daily">
33
- <img src="https://img.shields.io/endpoint?colorA=f6f8fa&colorB=f6f8fa&style=flat&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wagmi-dev%2Fviem%26since=daily" alt="Best of JS">
24
+ <img src="https://img.shields.io/bundlephobia/minzip/@thalalabs/surf?colorA=2c8af7&colorB=2c8af7&style=flat" alt="MIT License">
34
25
  </picture>
35
26
  </a>
36
27
  </p>
@@ -39,11 +30,11 @@
39
30
 
40
31
  ## Features
41
32
 
42
- - **No code-generation**: Interact with smart contracts using fully typed APIs based on static type inference.
33
+ - **No code-generation**: Interact with smart contracts using fully typed APIs based on static type inference. Inspired by [Viem](https://viem.sh/).
43
34
  - **Get rid of encoding/decoding**: Surf takes care of the complexities within the APIs, so you don't have to.
44
35
  - **Linting and Auto-Completion**: Enjoy a better development experience with type safety. No more guesswork for input and output.
45
36
  - **Both TypeScript Interfaces & React Hooks**: Easy to use, whether working with wallets or private keys.
46
- - **Low runtime cost & small bundle size**: Modular, tree-shakable, [100kb]().
37
+ - **Low runtime cost & small bundle size**: [minzipped size: 1.77 kB](https://bundlephobia.com/package/@thalalabs/surf).
47
38
 
48
39
  ## Overview
49
40
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thalalabs/surf",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "TypeScript Interfaces & React Hooks for interacting with Aptos Smart Contracts with type safety.",
5
5
  "main": "./build/cjs/index.js",
6
6
  "module": "./build/esm/index.js",