1. 13 Jan, 2021 1 commit
    • Bryn Ryans's avatar
      Improve npm packaging (#437) · ead4b39a
      Bryn Ryans authored
      * Improve npm packaging
      
      published npm packages now included commonjs and esm distributions.
      
      Further work needs to be done to expose both commonjs and esm in all packages but the packages that need to run in both node and the browser either expose both or commonjs rather than esm.
      ead4b39a
  2. 11 Sep, 2020 1 commit
    • Joseph Axisa's avatar
      Split @looker/sdk-rtl from @looker/sdk (#315) · 56c5a7b2
      Joseph Axisa authored
      * Moved ./packages/sdk/rtl into own sdk-rtl pkg
      
      * Added index file exporting everything from /src
      
      * Added LICENSE, package.json and tsconfig.build.json
      
      Added @looker/sdk as an @looker/sdk-rtl dependency
      
      * Updated byosdk.md and cors.md links
      
      * moved browserSdk, browserSession, extensionSession to @looker/sdk and updated browser and node exports
      
      * Redeclared IError in @looker/sdk-rtl authSession to eliminate @looker/sdk dep
      
      Moved IAccessToken redeclaration from nodeSession to authSession to be usable by both nodeSession and oauthSession
      
      * Moved testUtils from @looker/sdk to @looker/sdk-rtl to eliminate last dep
      
      * Updated all imports/exports
      
      - yarn build succeeds
      - yarn test in root has no failures
      
      * Updated constants.ts location in TypescriptFormatter
      
      * Refresh TS SDK generated files with 7.14
      
      * moved browserSession to @looker/sdk-rtl
      
      * Added BrowserSession export to @looker/sdk-rtl index.ts
      
      * Updated constants.ts import in reformatter.ts
      
      * Made homepage links in each package.json pkg specific
      56c5a7b2
  3. 08 May, 2020 1 commit
  4. 23 Apr, 2020 1 commit
  5. 16 Mar, 2020 1 commit
    • Danny Thorpe's avatar
      new OAuthSession (#190) · 1ca6d6d4
      Danny Thorpe authored
      
      * First cut at oauth_token_session
      
      * Refactor to separate authCode redemption from refresh token
      
      * Add functions to OAuthSession to generate the auth code request URL, and process the received auth code to get an access token
      Refactor OAuthSession constructor to accept a new IPlatformServices interface, through which settings, transport, and crypto support functions can be passed.
      New BrowserServices and NodeServices classes that implement IPlatformServices and provide defaults for platform services.
      Unit tests for OAuthSession, BrowserServices, NodeServices, and crypto hash functions.
      
      Co-authored-by: default avatarJohn Kaster <johnk@looker.com>
      1ca6d6d4
  6. 18 Sep, 2019 1 commit
  7. 12 Sep, 2019 1 commit
    • John Kaster's avatar
      Using UPPERCASE of package name as the environment variable prefix · 96891884
      John Kaster authored
      - modified the Typescript generator to stamp this in the versions file
      - Use `environmentPrefix` for the other string constants for env variables
      
      Added request-specific options for Typescript SDK methods
      - timeout can be set per method
      - any other transport setting can be overridden for that specific call
      
      Removed embed_secret from API settings and sample `ini` file
      
      The code changes here are much larger than they should be, because IntelliJ is ignoring my settings for removing semicolons from Typescript and Javascript and is instead **adding** them, which is very annoying. And prettier isn't working correctly for me right now, so I'll have to address that tomorrow.
      96891884
  8. 30 Aug, 2019 1 commit
  9. 01 Jun, 2019 1 commit
  10. 14 May, 2019 2 commits
  11. 13 May, 2019 1 commit
  12. 26 Apr, 2019 1 commit