From af192fa50dbc7aaa4da694f9c785446321d01489 Mon Sep 17 00:00:00 2001 From: Morley Zhi Date: Tue, 2 Jul 2019 13:52:56 -0400 Subject: [PATCH] Explicitly export types (#74) * explicitly export types * bump version too * upgrade stellar-sdk --- package.json | 4 ++-- src/index.ts | 5 +++++ yarn.lock | 8 ++++---- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index ea080fdb..34c0877c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stellar/wallet-sdk", - "version": "0.0.3-rc7", + "version": "0.0.3-rc8", "description": "Libraries to help you write Stellar-enabled wallets in Javascript", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -67,7 +67,7 @@ "lodash": "^4.17.11", "query-string": "^6.4.2", "scrypt-async": "^2.0.1", - "stellar-sdk": "2.0.0-beta.8", + "stellar-sdk": "^2.0.0-beta.9", "tweetnacl": "^1.0.1", "tweetnacl-util": "^0.15.0", "url": "^0.11.0" diff --git a/src/index.ts b/src/index.ts index 5f4d52f1..485a8fb0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,8 @@ +/** + * Types + */ +export * from "./types"; + /** * Constants */ diff --git a/yarn.lock b/yarn.lock index 5f0b56c1..7ca0673c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4977,10 +4977,10 @@ stellar-base@^1.0.2: optionalDependencies: sodium-native "^2.3.0" -stellar-sdk@2.0.0-beta.8: - version "2.0.0-beta.8" - resolved "https://registry.yarnpkg.com/stellar-sdk/-/stellar-sdk-2.0.0-beta.8.tgz#a6b710974588bd68287a08dbc962492c5d5e78c8" - integrity sha512-PNoW5qBYtYIDA8PubkdUiXXKdSlFoUMN81VvjTO+UkH9zgJzwF4RBsEvvH46NEF7Smf5gZ3hZXhCINmM+E1v6w== +stellar-sdk@^2.0.0-beta.9: + version "2.0.0-beta.9" + resolved "https://registry.yarnpkg.com/stellar-sdk/-/stellar-sdk-2.0.0-beta.9.tgz#b714120cbee1c9c8d474e62d29adb55866d60a2b" + integrity sha512-NJnHt5FlsbLXtutdlt9LRSc15UBOrg8UvWnTlocoBnmwjGp+Ei4LSyAEd7kNTKeVvqzSlQscKP3WnwfxceC1DQ== dependencies: "@types/eventsource" "^1.1.0" "@types/node" ">= 8"