framer-api 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  <h1 align="center" margin="0">
2
- <img width="200" src="https://misc.framerstatic.com/framer-api/package-logo.svg">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://misc.framerstatic.com/framer-api/package-logo-light.svg">
4
+ <source media="(prefers-color-scheme: light)" srcset="https://misc.framerstatic.com/framer-api/package-logo.svg">
5
+ <img alt="Framer Server API" src="https://misc.framerstatic.com/framer-api/package-logo.svg" width="200">
6
+ </picture>
3
7
  </h1>
4
8
  <h3 align="center" style="margin: 0;">
5
9
  Programmatically interact with Framer projects.
@@ -7,7 +11,7 @@ Programmatically interact with Framer projects.
7
11
 
8
12
  <br>
9
13
 
10
- ![plugins](https://misc.framerstatic.com/hunter/plugin-asset.png)
14
+ ![server-api](https://misc.framerstatic.com/framer-api/server-api-header.png)
11
15
 
12
16
  ```bash
13
17
  npm install framer-api
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { process as process$1, isWorkerd } from 'std-env';
2
2
  import * as rt from 'devalue';
3
3
 
4
- /* Framer API SDK v0.1.0 */
4
+ /* Framer API SDK v0.1.1 */
5
5
  var Mr=Object.defineProperty;var r=(n,e)=>Mr(n,"name",{value:e,configurable:true});function lt(n){return n!==undefined}r(lt,"isDefined");function Kn(n){return n===undefined}r(Kn,"isUndefined");function x(n){return n===null}r(x,"isNull");function $n(n){return n!==null}r($n,"isNotNull");function xe(n){return n===true||n===false}r(xe,"isBoolean");function f(n){return typeof n=="string"}r(f,"isString");function K(n){return typeof n=="number"&&Number.isFinite(n)}r(K,"isNumber");function Ar(n){return typeof n=="function"}r(Ar,"isFunction");function v(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}r(v,"isObject");function dt(n){if(typeof n!="object"||n===null)return false;let e=Object.getPrototypeOf(n);return e===null||e===Object.prototype}r(dt,"isPlainObject");function zt(n){return Array.isArray(n)}r(zt,"isArray");function ut(n,e){throw e||new Error(n?`Unexpected value: ${n}`:"Application entered invalid state")}r(ut,"assertNever");function m(n,...e){if(n)return;let t=Error("Assertion Error"+(e.length>0?": "+e.join(" "):""));if(t.stack)try{let i=t.stack.split(`
6
6
  `);i[1]?.includes("assert")?(i.splice(1,1),t.stack=i.join(`
7
7
  `)):i[0]?.includes("assert")&&(i.splice(0,1),t.stack=i.join(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framer-api",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {