Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bump version to 2.3.6
  • Loading branch information
wk3368 committed Nov 30, 2022
1 parent 50c5ee7 commit a9b2126
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file, as of versi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.3.6] - 2022-11-30

- Delete console.log

## [2.3.5] - 2022-11-21

- Add functionAptos in txParams for Dapps to sendUncheckedTransaction in Aptos networks
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@starcoin/starcoin",
"version": "2.3.5",
"version": "2.3.6",
"description": "starcoin js sdk",
"author": "lerencao, wk3368, tarvos21",
"license": "Apache-2.0",
Expand Down
3 changes: 0 additions & 3 deletions src/providers/jsonrpc-provider.ts
Expand Up @@ -487,9 +487,7 @@ export class JsonRpcProvider extends BaseProvider {
}

send(method: string, params: Array<any>): Promise<any> {
console.log('jsonRpcProvider send', { url: this.connection, method, params })
const isAptos = this.isAptos()
console.log({ isAptos })
// most aptos Rest APIs used in Dapp's injected window.starcoin is GET
if (isAptos) {
const request = null
Expand All @@ -506,7 +504,6 @@ export class JsonRpcProvider extends BaseProvider {
if (method === 'chain.get_transaction_info') {
fetchUrl = `${ fetchUrl }transactions/by_hash/${ params[0] }`
}
console.log({ fetchUrl, request })
return fetchJson(fetchUrl).then(
(data) => {
console.log({ data })
Expand Down

0 comments on commit a9b2126

Please sign in to comment.