Skip to content

Commit

Permalink
chore: initial Upryzing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Sep 7, 2024
1 parent 23665b1 commit af1f81d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Revolt API
# @upryzing/api

![revolt-api](https://img.shields.io/npm/v/revolt-api)
![@upryzing/api](https://img.shields.io/npm/v/@upryzing/api)

This package contains typings for objects in the [Revolt API](https://developers.revolt.chat/api/) and a fully typed API request builder.
This package contains typings for objects in the Upryzing API<!-- ToDO: set up dev docs --> and a fully typed API request builder.

### Example Usage

If you just need access to types:

```typescript
import type { User } from 'revolt-api';
import type { User } from '@upryzing/api';
```

If you want to send requests:

```typescript
import { API } from 'revolt-api';
import { API } from '@upryzing/api';

// Initialise a new API client:
const client = new API();
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "revolt-api",
"name": "@upryzing/api",
"version": "0.7.16",
"description": "Revolt API Library",
"description": "Upryzing API Library",
"main": "dist/index.js",
"module": "esm/index.js",
"homepage": "https://developers.revolt.chat",
"repository": "https://github.com/revoltchat/api.git",
"repository": "https://github.com/upryzing/api-types.git",
"author": "Paul Makles <insrt.uk>",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit af1f81d

Please sign in to comment.