release 0.17.2

This commit is contained in:
Aaron Blankstein
2018-04-11 14:56:16 -04:00
parent 696d8e9ddc
commit 4d249fee55
4 changed files with 451 additions and 507 deletions

773
dist/blockstack.js vendored

File diff suppressed because it is too large Load Diff

158
docs.json
View File

@@ -1059,7 +1059,7 @@
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 224, "line": 226,
"column": 1 "column": 1
} }
}, },
@@ -1321,22 +1321,22 @@
], ],
"loc": { "loc": {
"start": { "start": {
"line": 226, "line": 228,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 229, "line": 231,
"column": 3 "column": 3
} }
}, },
"context": { "context": {
"loc": { "loc": {
"start": { "start": {
"line": 230, "line": 232,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 232, "line": 234,
"column": 1 "column": 1
} }
}, },
@@ -1730,22 +1730,22 @@
], ],
"loc": { "loc": {
"start": { "start": {
"line": 234, "line": 236,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 238, "line": 240,
"column": 3 "column": 3
} }
}, },
"context": { "context": {
"loc": { "loc": {
"start": { "start": {
"line": 239, "line": 241,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 246, "line": 248,
"column": 1 "column": 1
} }
}, },
@@ -5624,7 +5624,7 @@
}, },
{ {
"title": "param", "title": "param",
"description": "The URL\nto use for zonefile lookup", "description": "The URL\nto use for zonefile lookup. If falsey, lookupProfile will use the\nblockstack.js getNameInfo function.",
"lineNumber": 4, "lineNumber": 4,
"type": { "type": {
"type": "OptionalType", "type": "OptionalType",
@@ -5634,12 +5634,12 @@
} }
}, },
"name": "zoneFileLookupURL", "name": "zoneFileLookupURL",
"default": "https://core.blockstack.org/v1/names/" "default": "null"
}, },
{ {
"title": "returns", "title": "returns",
"description": "that resolves to a profile object", "description": "that resolves to a profile object",
"lineNumber": 6, "lineNumber": 7,
"type": { "type": {
"type": "NameExpression", "type": "NameExpression",
"name": "Promise" "name": "Promise"
@@ -5648,22 +5648,22 @@
], ],
"loc": { "loc": {
"start": { "start": {
"line": 4, "line": 5,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 11, "line": 13,
"column": 3 "column": 3
} }
}, },
"context": { "context": {
"loc": { "loc": {
"start": { "start": {
"line": 12, "line": 14,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 37, "line": 36,
"column": 1 "column": 1
} }
}, },
@@ -5745,7 +5745,7 @@
"children": [ "children": [
{ {
"type": "text", "type": "text",
"value": "The URL\nto use for zonefile lookup", "value": "The URL\nto use for zonefile lookup. If falsey, lookupProfile will use the\nblockstack.js getNameInfo function.",
"position": { "position": {
"start": { "start": {
"line": 1, "line": 1,
@@ -5753,11 +5753,12 @@
"offset": 0 "offset": 0
}, },
"end": { "end": {
"line": 2, "line": 3,
"column": 27, "column": 36,
"offset": 34 "offset": 109
}, },
"indent": [ "indent": [
1,
1 1
] ]
} }
@@ -5770,11 +5771,12 @@
"offset": 0 "offset": 0
}, },
"end": { "end": {
"line": 2, "line": 3,
"column": 27, "column": 36,
"offset": 34 "offset": 109
}, },
"indent": [ "indent": [
1,
1 1
] ]
} }
@@ -5787,9 +5789,9 @@
"offset": 0 "offset": 0
}, },
"end": { "end": {
"line": 2, "line": 3,
"column": 27, "column": 36,
"offset": 34 "offset": 109
} }
} }
}, },
@@ -5797,7 +5799,7 @@
"type": "NameExpression", "type": "NameExpression",
"name": "string" "name": "string"
}, },
"default": "https://core.blockstack.org/v1/names/" "default": "null"
} }
], ],
"properties": [], "properties": [],
@@ -6242,7 +6244,7 @@
}, },
{ {
"title": "param", "title": "param",
"description": "the Blockstack\ncore endpoint URL to use for zonefile lookup", "description": "The URL\nto use for zonefile lookup. If falsey, this will use the\nblockstack.js's getNameInfo function instead.",
"lineNumber": 8, "lineNumber": 8,
"type": { "type": {
"type": "OptionalType", "type": "OptionalType",
@@ -6252,12 +6254,12 @@
} }
}, },
"name": "options.zoneFileLookupURL", "name": "options.zoneFileLookupURL",
"default": "https://core.blockstack.org/v1/names/" "default": "null"
}, },
{ {
"title": "returns", "title": "returns",
"description": "that resolves to the raw data in the file\nor rejects with an error", "description": "that resolves to the raw data in the file\nor rejects with an error",
"lineNumber": 10, "lineNumber": 11,
"type": { "type": {
"type": "NameExpression", "type": "NameExpression",
"name": "Promise" "name": "Promise"
@@ -6266,22 +6268,22 @@
], ],
"loc": { "loc": {
"start": { "start": {
"line": 46, "line": 47,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 58, "line": 60,
"column": 3 "column": 3
} }
}, },
"context": { "context": {
"loc": { "loc": {
"start": { "start": {
"line": 59, "line": 61,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 113, "line": 115,
"column": 1 "column": 1
} }
}, },
@@ -6613,7 +6615,7 @@
"children": [ "children": [
{ {
"type": "text", "type": "text",
"value": "the Blockstack\ncore endpoint URL to use for zonefile lookup", "value": "The URL\nto use for zonefile lookup. If falsey, this will use the\nblockstack.js's getNameInfo function instead.",
"position": { "position": {
"start": { "start": {
"line": 1, "line": 1,
@@ -6621,11 +6623,12 @@
"offset": 0 "offset": 0
}, },
"end": { "end": {
"line": 2, "line": 3,
"column": 45, "column": 46,
"offset": 59 "offset": 110
}, },
"indent": [ "indent": [
1,
1 1
] ]
} }
@@ -6638,11 +6641,12 @@
"offset": 0 "offset": 0
}, },
"end": { "end": {
"line": 2, "line": 3,
"column": 45, "column": 46,
"offset": 59 "offset": 110
}, },
"indent": [ "indent": [
1,
1 1
] ]
} }
@@ -6655,9 +6659,9 @@
"offset": 0 "offset": 0
}, },
"end": { "end": {
"line": 2, "line": 3,
"column": 45, "column": 46,
"offset": 59 "offset": 110
} }
} }
}, },
@@ -6665,7 +6669,7 @@
"type": "NameExpression", "type": "NameExpression",
"name": "String" "name": "String"
}, },
"default": "https://core.blockstack.org/v1/names/" "default": "null"
} }
] ]
} }
@@ -6879,22 +6883,22 @@
], ],
"loc": { "loc": {
"start": { "start": {
"line": 115, "line": 117,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 123, "line": 125,
"column": 3 "column": 3
} }
}, },
"context": { "context": {
"loc": { "loc": {
"start": { "start": {
"line": 124, "line": 126,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 144, "line": 146,
"column": 1 "column": 1
} }
}, },
@@ -7323,22 +7327,22 @@
], ],
"loc": { "loc": {
"start": { "start": {
"line": 157, "line": 159,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 162, "line": 164,
"column": 3 "column": 3
} }
}, },
"context": { "context": {
"loc": { "loc": {
"start": { "start": {
"line": 163, "line": 165,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 165, "line": 167,
"column": 1 "column": 1
} }
}, },
@@ -7581,22 +7585,22 @@
], ],
"loc": { "loc": {
"start": { "start": {
"line": 146, "line": 148,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 152, "line": 154,
"column": 3 "column": 3
} }
}, },
"context": { "context": {
"loc": { "loc": {
"start": { "start": {
"line": 153, "line": 155,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 155, "line": 157,
"column": 1 "column": 1
} }
}, },
@@ -7900,22 +7904,22 @@
}, },
{ {
"title": "param", "title": "param",
"description": "The URL\nto use for zonefile lookup", "description": "The URL\nto use for zonefile lookup. If falsey, this will use the\nblockstack.js's getNameInfo function instead.",
"lineNumber": 5, "lineNumber": 5,
"type": { "type": {
"type": "OptionalType", "type": "OptionalType",
"expression": { "expression": {
"type": "NameExpression", "type": "NameExpression",
"name": "string" "name": "String"
} }
}, },
"name": "zoneFileLookupURL", "name": "zoneFileLookupURL",
"default": "https://core.blockstack.org/v1/names/" "default": "null"
}, },
{ {
"title": "return", "title": "return",
"description": "that resolves to the public read URL of the file\nor rejects with an error", "description": "that resolves to the public read URL of the file\nor rejects with an error",
"lineNumber": 7, "lineNumber": 8,
"type": { "type": {
"type": "NameExpression", "type": "NameExpression",
"name": "Promise" "name": "Promise"
@@ -7928,18 +7932,18 @@
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 21, "line": 22,
"column": 3 "column": 3
} }
}, },
"context": { "context": {
"loc": { "loc": {
"start": { "start": {
"line": 22, "line": 23,
"column": 0 "column": 0
}, },
"end": { "end": {
"line": 44, "line": 45,
"column": 1 "column": 1
} }
}, },
@@ -8143,7 +8147,7 @@
"children": [ "children": [
{ {
"type": "text", "type": "text",
"value": "The URL\nto use for zonefile lookup", "value": "The URL\nto use for zonefile lookup. If falsey, this will use the\nblockstack.js's getNameInfo function instead.",
"position": { "position": {
"start": { "start": {
"line": 1, "line": 1,
@@ -8151,11 +8155,12 @@
"offset": 0 "offset": 0
}, },
"end": { "end": {
"line": 2, "line": 3,
"column": 27, "column": 46,
"offset": 34 "offset": 110
}, },
"indent": [ "indent": [
1,
1 1
] ]
} }
@@ -8168,11 +8173,12 @@
"offset": 0 "offset": 0
}, },
"end": { "end": {
"line": 2, "line": 3,
"column": 27, "column": 46,
"offset": 34 "offset": 110
}, },
"indent": [ "indent": [
1,
1 1
] ]
} }
@@ -8185,17 +8191,17 @@
"offset": 0 "offset": 0
}, },
"end": { "end": {
"line": 2, "line": 3,
"column": 27, "column": 46,
"offset": 34 "offset": 110
} }
} }
}, },
"type": { "type": {
"type": "NameExpression", "type": "NameExpression",
"name": "string" "name": "String"
}, },
"default": "https://core.blockstack.org/v1/names/" "default": "null"
} }
], ],
"properties": [], "properties": [],

View File

@@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset='utf-8' /> <meta charset='utf-8' />
<title>blockstack 0.17.1 | Documentation</title> <title>blockstack 0.17.2 | Documentation</title>
<meta name='viewport' content='width=device-width,initial-scale=1'> <meta name='viewport' content='width=device-width,initial-scale=1'>
<link href='assets/bass.css' type='text/css' rel='stylesheet' /> <link href='assets/bass.css' type='text/css' rel='stylesheet' />
<link href='assets/style.css' type='text/css' rel='stylesheet' /> <link href='assets/style.css' type='text/css' rel='stylesheet' />
@@ -14,7 +14,7 @@
<div class='fixed xs-hide fix-3 overflow-auto max-height-100'> <div class='fixed xs-hide fix-3 overflow-auto max-height-100'>
<div class='py1 px2'> <div class='py1 px2'>
<h3 class='mb0 no-anchor'>blockstack</h3> <h3 class='mb0 no-anchor'>blockstack</h3>
<div class='mb1'><code>0.17.1</code></div> <div class='mb1'><code>0.17.2</code></div>
<input <input
placeholder='Filter' placeholder='Filter'
id='filter-input' id='filter-input'
@@ -1567,9 +1567,10 @@ Facebook, Twitter, GitHub, Instagram, LinkedIn and HackerNews accounts.</p>
<div class='space-bottom0'> <div class='space-bottom0'>
<div> <div>
<span class='code bold'>zoneFileLookupURL</span> <code class='quiet'>(<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a> <span class='code bold'>zoneFileLookupURL</span> <code class='quiet'>(<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>
= <code>https://core.blockstack.org/v1/names/</code>)</code> = <code>null</code>)</code>
The URL The URL
to use for zonefile lookup to use for zonefile lookup. If falsey, lookupProfile will use the
blockstack.js getNameInfo function.
</div> </div>
@@ -1713,10 +1714,11 @@ defaults to current origin
<tr> <tr>
<td class='break-word'><span class='code bold'>options.zoneFileLookupURL</span> <code class='quiet'><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">String</a></code> <td class='break-word'><span class='code bold'>options.zoneFileLookupURL</span> <code class='quiet'><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">String</a></code>
(default <code>https://core.blockstack.org/v1/names/</code>) (default <code>null</code>)
</td> </td>
<td class='break-word'><span>the Blockstack <td class='break-word'><span>The URL
core endpoint URL to use for zonefile lookup to use for zonefile lookup. If falsey, this will use the
blockstack.js's getNameInfo function instead.
</span></td> </span></td>
</tr> </tr>
@@ -2034,7 +2036,7 @@ or rejects if it fails
<p>Fetch the public read URL of a user file for the specified app.</p> <p>Fetch the public read URL of a user file for the specified app.</p>
<div class='pre p1 fill-light mt0'>getUserAppFileUrl(path: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">String</a>, username: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">String</a>, appOrigin: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">String</a>, zoneFileLookupURL: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promise</a></div> <div class='pre p1 fill-light mt0'>getUserAppFileUrl(path: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">String</a>, username: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">String</a>, appOrigin: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">String</a>, zoneFileLookupURL: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">String</a>): <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promise</a></div>
@@ -2078,10 +2080,11 @@ or rejects if it fails
<div class='space-bottom0'> <div class='space-bottom0'>
<div> <div>
<span class='code bold'>zoneFileLookupURL</span> <code class='quiet'>(<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a> <span class='code bold'>zoneFileLookupURL</span> <code class='quiet'>(<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">String</a>
= <code>https://core.blockstack.org/v1/names/</code>)</code> = <code>null</code>)</code>
The URL The URL
to use for zonefile lookup to use for zonefile lookup. If falsey, this will use the
blockstack.js's getNameInfo function instead.
</div> </div>

View File

@@ -1,6 +1,6 @@
{ {
"name": "blockstack", "name": "blockstack",
"version": "0.17.1", "version": "0.17.2",
"description": "The Blockstack Javascript library for identity and authentication.", "description": "The Blockstack Javascript library for identity and authentication.",
"main": "lib/index", "main": "lib/index",
"scripts": { "scripts": {