Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistegreve committed Dec 5, 2022
1 parent 1c9bbec commit 5e4e009
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,8 @@ export class Orbis {
/** Authenticate a did with a seed */
async connectWithSeed(seed) {
/** Create the provider and resolve it */
const provider = new Ed25519Provider(seed)
const did = new DID({ provider, resolver: getResolver() })
const provider = new Ed25519Provider(seed);
const did = new DID({ provider, resolver: getResolver() })

/** Authenticate the Did */
await did.authenticate()
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orbisclub/orbis-sdk",
"version": "0.4.04-beta.40",
"version": "0.4.04-beta.41",
"description": "Official package to implement quickly an Orbis powered decentralized social layer within your application.",
"author": "Baptiste Grève",
"license": "ISC",
Expand Down
2 changes: 1 addition & 1 deletion utils/polyfills_light_crypto.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'core-js/features/number/is-nan';
import 'react-native-url-polyfill/auto';
import * as encoding from 'text-encoding';
const { NativeModules } = require('react-native')
const base64Decode = require('fast-base64-decode')
import base64Decode from 'fast-base64-decode'
var sha256 = require('js-sha256');
import 'react-native-webcrypto'

Expand Down

0 comments on commit 5e4e009

Please sign in to comment.