mirror of
https://github.com/aljazceru/react-native-pubky.git
synced 2026-02-01 13:14:45 +01:00
docs: setup private npm
Updated name field in package.json. Updated install instructions in README.md.
This commit is contained in:
@@ -5,7 +5,7 @@ React Native implementation of [pubky](https://github.com/pubky/pubky)
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
npm install react-native-pubky
|
||||
npm install @synonymdev/react-native-pubky
|
||||
```
|
||||
|
||||
## Local Installation
|
||||
@@ -23,7 +23,7 @@ yarn add path/to/react-native-pubky
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import { auth } from 'react-native-pubky';
|
||||
import { auth } from '@synonymdev/react-native-pubky';
|
||||
|
||||
const authRes = await auth("pubkyAuthUrl", "secretKey");
|
||||
if (authRes.isErr()) {
|
||||
|
||||
@@ -1757,7 +1757,7 @@ SPEC CHECKSUMS:
|
||||
React-logger: 8db32983d75dc2ad54f278f344ccb9b256e694fc
|
||||
React-Mapbuffer: 1c08607305558666fd16678b85ef135e455d5c96
|
||||
React-microtasksnativemodule: 87b8de96f937faefece8afd2cb3a518321b2ef99
|
||||
react-native-pubky: 245e7fdcf4672621087a6c9f6a528c9e179b2a59
|
||||
react-native-pubky: 8378018c47c2106fb8fd641a4c9a94c809963b21
|
||||
React-nativeconfig: 57781b79e11d5af7573e6f77cbf1143b71802a6d
|
||||
React-NativeModulesApple: 7ff2e2cfb2e5fa5bdedcecf28ce37e696c6ef1e1
|
||||
React-perflogger: 8a360ccf603de6ddbe9ff8f54383146d26e6c936
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "react-native-pubky",
|
||||
"name": "@synonymdev/react-native-pubky",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "react-native-pubky",
|
||||
"name": "@synonymdev/react-native-pubky",
|
||||
"version": "0.1.0",
|
||||
"license": "MIT",
|
||||
"workspaces": [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "react-native-pubky",
|
||||
"name": "@synonymdev/react-native-pubky",
|
||||
"version": "0.1.0",
|
||||
"description": "React Native Implementation of Pubky",
|
||||
"source": "./src/index.tsx",
|
||||
@@ -67,6 +67,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/pubky/react-native-pubky#readme",
|
||||
"publishConfig": {
|
||||
"access": "restricted",
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -5992,7 +5992,7 @@ react-native-builder-bob@^0.30.2:
|
||||
which "^2.0.2"
|
||||
yargs "^17.5.1"
|
||||
|
||||
"react-native-pubky-example@file:/Users/coreyphillips/Desktop/reat-native-pubky/quick/react-native-pubky/example":
|
||||
"react-native-pubky-example@file:/Users/coreyphillips/Desktop/reat-native-pubky/npm-publish/react-native-pubky/example":
|
||||
version "0.0.1"
|
||||
resolved "file:example"
|
||||
dependencies:
|
||||
|
||||
Reference in New Issue
Block a user