From 7e38adc69ee95c02d2b605f402285fa788bce35d Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Fri, 17 May 2024 04:28:12 +0000 Subject: [PATCH 1/3] fix: minor bugs --- README.md | 2 +- package.json | 2 +- src/client.ts | 2 +- src/enums/credit-card.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b2c71d9..1332740 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.6-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/package.json b/package.json index 2b4cc5c..8004c00 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.0", + "version": "0.3.2", "license": "BSD-3-Clause", "main": "dist/cjs/sdk.js", "exports": { diff --git a/src/client.ts b/src/client.ts index 4cb8017..d887b3b 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.3.2', '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', From 876e846813a7d4e551f44f65a08fe48a6204afa2 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 May 2024 17:49:47 +0000 Subject: [PATCH 2/3] chore: replace travis with GitHub actions --- dist/cjs/package.json | 3 +++ dist/esm/package.json | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 dist/cjs/package.json create mode 100644 dist/esm/package.json 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 From db1aaf821458ee957d95ea1ae5abda371cf50cd5 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 29 May 2024 18:36:13 +0000 Subject: [PATCH 3/3] chore: bump minor version (not ready for 1.0) due to breaking changes --- README.md | 2 +- package.json | 2 +- src/client.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1332740..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.6-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/package.json b/package.json index 8004c00..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.2", + "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 d887b3b..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.2', + 'x-sdk-version': '0.4.0', 'X-Appwrite-Response-Format': '1.5.0', };