diff --git a/README.md b/README.md index b2c71d9..94816ac 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Appwrite React Native SDK ![License](https://img.shields.io/github/license/appwrite/sdk-for-react-native.svg?style=flat-square) -![Version](https://img.shields.io/badge/api%20version-1.5.4-blue.svg?style=flat-square) +![Version](https://img.shields.io/badge/api%20version-1.5.7-blue.svg?style=flat-square) [![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator) [![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite) [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord) diff --git a/dist/cjs/package.json b/dist/cjs/package.json new file mode 100644 index 0000000..6a0d2ef --- /dev/null +++ b/dist/cjs/package.json @@ -0,0 +1,3 @@ +{ + "type": "commonjs" +} \ No newline at end of file diff --git a/dist/esm/package.json b/dist/esm/package.json new file mode 100644 index 0000000..96ae6e5 --- /dev/null +++ b/dist/esm/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +} \ No newline at end of file diff --git a/package.json b/package.json index cb27830..3873c5f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "react-native-appwrite", "homepage": "https://appwrite.io/support", "description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API", - "version": "0.3.1", + "version": "0.4.0", "license": "BSD-3-Clause", "main": "dist/cjs/sdk.js", "exports": { diff --git a/src/client.ts b/src/client.ts index 4cb8017..87e42a3 100644 --- a/src/client.ts +++ b/src/client.ts @@ -103,7 +103,7 @@ class Client { 'x-sdk-name': 'React Native', 'x-sdk-platform': 'client', 'x-sdk-language': 'reactnative', - 'x-sdk-version': '0.3.0', + 'x-sdk-version': '0.4.0', 'X-Appwrite-Response-Format': '1.5.0', }; diff --git a/src/enums/credit-card.ts b/src/enums/credit-card.ts index ae917a8..daf43c7 100644 --- a/src/enums/credit-card.ts +++ b/src/enums/credit-card.ts @@ -2,7 +2,7 @@ export enum CreditCard { AmericanExpress = 'amex', Argencard = 'argencard', Cabal = 'cabal', - Consosud = 'censosud', + Cencosud = 'cencosud', DinersClub = 'diners', Discover = 'discover', Elo = 'elo',