{"id":869,"date":"2018-04-13T08:37:18","date_gmt":"2018-04-13T08:37:18","guid":{"rendered":"http:\/\/smartfoxserver.com\/blog\/?p=869"},"modified":"2018-04-13T08:42:16","modified_gmt":"2018-04-13T08:42:16","slug":"new-javascript-api-v1-7-10-released","status":"publish","type":"post","link":"https:\/\/smartfoxserver.com\/blog\/new-javascript-api-v1-7-10-released\/","title":{"rendered":"New JavaScript API v1.7.10 released"},"content":{"rendered":"<p>We just released v1.7.10 of the SFS2X JavaScript client API.<\/p>\n<p>Starting from this new version, we completely reviewed the build process of the API.<br \/>\nThis fixes some compatibility issues of the internal third-party libraries with module bundlers (like <a href=\"https:\/\/webpack.js.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">webpack<\/a>) and also brings:<\/p>\n<ul>\n<li>reduced API file size (-41%)<\/li>\n<li>a source map to help debug the API, should unexpected issues show up in the future<\/li>\n<li>the <strong><a href=\"https:\/\/www.npmjs.com\/package\/sfs2x-api\" target=\"_blank\" rel=\"noopener noreferrer\">official SFS2X API package<\/a><\/strong> for the <a href=\"https:\/\/www.npmjs.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">npm<\/a> package builder<\/li>\n<li><a href=\"https:\/\/nodejs.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Node.js<\/a> compatibility<\/li>\n<\/ul>\n<p>As always, the new package is available <a href=\"http:\/\/www.smartfoxserver.com\/download\/sfs2x#p=client\">on the download page<\/a> of our website (other than in the npm repository, from now on).<\/p>\n<p>In order to showcase the usage of the API with <strong>npm<\/strong> and <strong>webpack<\/strong>, we also released a <strong><a href=\"http:\/\/docs2x.smartfoxserver.com\/ExamplesJS\/connector-npm-webpack\">variant Connector example<\/a><\/strong> describing the project setup and build process, including the new source mapping option.<\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We just released v1.7.10 of the SFS2X JavaScript client API. Starting from this new version, we completely reviewed the build process of the API. This fixes some compatibility issues of the internal third-party libraries with module bundlers (like webpack) and also brings: reduced API file size (-41%) a source map to help debug the API, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,6],"tags":[8,80,93,40,7,94,9],"_links":{"self":[{"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/posts\/869"}],"collection":[{"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/comments?post=869"}],"version-history":[{"count":3,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/posts\/869\/revisions"}],"predecessor-version":[{"id":872,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/posts\/869\/revisions\/872"}],"wp:attachment":[{"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/media?parent=869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/categories?post=869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/tags?post=869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}