Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Rename to avoid naming conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Jun 20, 2019
1 parent d795422 commit 443f9f9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import scala.scalajs.js.annotation.JSImport

@js.native
@JSImport("aws-sdk", "CloudFront.Signer")
class Signer protected () extends js.Object {
class CloudFrontSigner protected () extends js.Object {
def this(keyPairId: String, privateKey: String) = this()

def getSignedCookie(options: SignerOptionsWithPolicy): CustomPolicy = js.native
Expand All @@ -26,6 +26,7 @@ class Signer protected () extends js.Object {

def getSignedUrl(options: SignerOptionsWithoutPolicy, callback: js.Function2[Error, String, Unit]): Unit = js.native
}

@js.native
trait SignerOptionsWithPolicy extends js.Object {
var policy: String = js.native
Expand Down

0 comments on commit 443f9f9

Please sign in to comment.