@zeroin.earth/appwrite-graphql 0.16.1 → 0.16.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/package.json +3 -2
- package/react-native/index.d.ts +2 -2
- package/react-native/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeroin.earth/appwrite-graphql",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "Appwrite Graphql library, utilizing @tanstack/react-query and inspired by react-appwrite",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -16,8 +16,9 @@
|
|
|
16
16
|
"author": "Matt Suhay <matthew.suhay@gmail.com>",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "tsup && tsup --config tsup.native.config.ts",
|
|
19
|
+
"build": "tsup && tsup --config tsup.native.config.ts && node post-build.js",
|
|
20
20
|
"codegen": "graphql-codegen --config codegen.ts",
|
|
21
|
+
"prepublishOnly": "yarn tsc && yarn codegen && yarn build",
|
|
21
22
|
"tsc": "tsc --noEmit",
|
|
22
23
|
"test": "jest"
|
|
23
24
|
},
|
package/react-native/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _graphql_typed_document_node_core from '@graphql-typed-document-node/core';
|
|
2
2
|
import { DocumentTypeDecoration } from '@graphql-typed-document-node/core';
|
|
3
|
-
import * as appwrite from 'appwrite';
|
|
4
|
-
import { AppwriteException, OAuthProvider, Models } from 'appwrite';
|
|
3
|
+
import * as appwrite from 'react-native-appwrite';
|
|
4
|
+
import { AppwriteException, OAuthProvider, Models } from 'react-native-appwrite';
|
|
5
5
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
6
6
|
import { DefaultError, UseMutationOptions, QueryKey, UndefinedInitialDataOptions, DefinedInitialDataOptions, UseQueryOptions } from '@tanstack/react-query';
|
|
7
7
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
package/react-native/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jotai = require('jotai');
|
|
4
4
|
var graphql = require('graphql');
|
|
5
|
-
var appwrite = require('appwrite');
|
|
5
|
+
var appwrite = require('react-native-appwrite');
|
|
6
6
|
var reactQuery = require('@tanstack/react-query');
|
|
7
7
|
var utils = require('jotai/utils');
|
|
8
8
|
var react = require('react');
|