1.3.3 • Published 3 days ago

influence-typed-sdk v1.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

influence-typed-sdk

A typesafe wrapper around the official Influence API. I reverse engineered the API so you don't have to! Also ships with typescript definitions for the official sdk

Gettting started

Make sure to have the following peer dependencies installed:

  • @influenceth/sdk
  • zod
  • typescript

Then install the package using your package manager of choice.

npm i -S influence-typed-sdk
bun i influence-typed-sdk
yarn add influence-typed-sdk

Then you are ready to go:

import {
  makeInfluenceApi,
  preReleaseInfluenceApiUrl,
} from 'influence-typed-sdk/api'

import { makeInfluenceImageUrls } from 'influence-typed-sdk/images'

const api = makeInfluenceApi({
  baseUrl: preReleaseInfluenceApiUrl,
  accessToken: 'your access token',
})

const imageUrls = makeInfluenceImageUrls()

api.utils.warehouses('0x1234...')
imageUrls.crewmate(1)

Warning

This package is still in development. There might be breaking changes intentionally or unintentionally. Use at your own risk. I recommend pinning the version in your package.json and upgrade manually.

1.3.3

3 days ago

1.3.2

3 days ago

1.3.1

4 days ago

1.3.0

6 days ago

1.2.0

14 days ago

1.2.1

14 days ago

1.1.0

15 days ago

1.0.1

16 days ago

1.0.0

17 days ago

0.2.4

17 days ago

0.2.3

17 days ago

0.2.2

17 days ago

0.2.1

17 days ago

0.2.0

17 days ago

0.1.0

18 days ago