Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bayou/assets-client

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bayou/assets-client - npm Package Compare versions

Comparing version 1.0.6 to 1.2.4

files/boot-from-info.js

2

Assets.js

@@ -1,2 +0,2 @@

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

@@ -1,2 +0,2 @@

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -16,9 +16,10 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

* This global function is what ultimately gets called to attempt recovery. In
* this case, we rely on the `/key/*` debugging endpoints to generate a new key.
* If that's successful, we report it back up through the layers.
* this case, we rely on the `/access/*` debugging endpoints to generate new
* access info. If that's successful, we report it back up through the layers.
*/
function BAYOU_RECOVER(key) {
var docId = DEBUG_DOCUMENT_ID;
var authorId = DEBUG_AUTHOR_ID;
var url = `${new URL(key.url).origin}/debug/key/${docId}/${authorId}`;
function BAYOU_RECOVER(info) {
var documentId = DEBUG_DOCUMENT_ID;
var authorId = DEBUG_AUTHOR_ID;
var origin = new URL(info.serverUrl).origin;
var url = `${origin}/debug/access/${documentId}/${authorId}`;

@@ -63,3 +64,3 @@ return new Promise((res, rej_unused) => {

// This gets used by `boot-from-key`.
// This gets used by `boot-from-info`.
window.BAYOU_NODE = editorNode;

@@ -69,4 +70,4 @@

var elem = document.createElement('script');
elem.src = '/boot-from-key.js';
elem.src = '/boot-from-info.js';
document.head.appendChild(elem);
})

@@ -1,2 +0,2 @@

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

@@ -1,2 +0,2 @@

// Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
// Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
// Licensed AS IS and WITHOUT WARRANTY under the Apache License,

@@ -3,0 +3,0 @@ // Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>

@@ -7,6 +7,6 @@ {

"dependencies": {
"@bayou/util-common": "1.0.6"
"@bayou/util-common": "1.2.4"
},
"name": "@bayou/assets-client",
"version": "1.0.6"
"version": "1.2.4"
}

@@ -13,5 +13,5 @@ @bayou/assets-client

```
Copyright 2016-2018 the Bayou Authors (Dan Bornstein et alia).
Copyright 2016-2019 the Bayou Authors (Dan Bornstein et alia).
Licensed AS IS and WITHOUT WARRANTY under the Apache License,
Version 2.0. Details: <http://www.apache.org/licenses/LICENSE-2.0>
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc